reorganized the file and folder structure
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
version: "3"
|
||||
|
||||
|
||||
volumes:
|
||||
gitea_data:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/dockerstorage/gitea
|
||||
|
||||
gitea_repository:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=maurice,nfsvers=4
|
||||
device: :/git
|
||||
|
||||
services:
|
||||
server:
|
||||
image: gitea/gitea:1.18.1
|
||||
|
||||
volumes:
|
||||
- gitea_data:/data
|
||||
- gitea_repository:/data/git/repo
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
|
||||
@@ -5,13 +5,13 @@ volumes:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/swarm/stacks/proxymanager/data
|
||||
device: :/dockerstorage/proxymanager/data
|
||||
|
||||
letsencrypt:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/swarm/stacks/proxymanager/letsencrypt
|
||||
device: :/dockerstorage/proxymanager/letsencrypt
|
||||
|
||||
|
||||
services:
|
||||
@@ -24,6 +24,9 @@ services:
|
||||
- REGISTRY_AUTH=htpasswd
|
||||
- REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
|
||||
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
|
||||
- VIRTUAL_HOST=registry.vbchaos.nl
|
||||
- VIRTUAL_PORT=5000
|
||||
- VIRTUAL_PROTO=http
|
||||
ports:
|
||||
- '5000:5000'
|
||||
|
||||
@@ -33,6 +36,7 @@ services:
|
||||
- 8082:8080
|
||||
environment:
|
||||
- 'DOCKER_REGISTRY_URL=http://maurice:5000'
|
||||
# - 'DOCKER_REGISTRY_URL=https://registry.vbchaos.nl'
|
||||
- 'PUBLIC_REGISTRY_URL=registry.vbchaos.nl'
|
||||
- 'NO_SSL_VERIFICATION=true'
|
||||
- 'ENABLE_DELETE_IMAGES=true'
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
|
||||
tado-exporter:
|
||||
user: "1000:1000"
|
||||
image: docker:5000/tado-exporter:arm64
|
||||
image: registry.vbchaos.nl/tado-exporter:arm64
|
||||
hostname: tado-exporter
|
||||
|
||||
environment:
|
||||
@@ -1,44 +0,0 @@
|
||||
version: "3"
|
||||
|
||||
|
||||
volumes:
|
||||
gitea:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=maurice,nfsvers=4
|
||||
device: :/git
|
||||
|
||||
services:
|
||||
server:
|
||||
image: gitea/gitea:1.18.1
|
||||
environment:
|
||||
# - USER_UID=1000
|
||||
# - USER_GID=1000
|
||||
- GITEA__database__DB_TYPE=mysql
|
||||
- GITEA__database__HOST=db:3306
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=gitea
|
||||
|
||||
volumes:
|
||||
DATA - gitea:/data
|
||||
REPO
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: mysql:8
|
||||
restart: always
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=gitea
|
||||
- MYSQL_USER=gitea
|
||||
- MYSQL_PASSWORD=gitea
|
||||
- MYSQL_DATABASE=gitea
|
||||
|
||||
volumes:
|
||||
- ./mysql:/var/lib/mysql
|
||||
Reference in New Issue
Block a user