This commit is contained in:
giles 2022-06-08 16:14:33 +01:00
parent 0c8b859444
commit 05a934d88b
1 changed files with 17 additions and 2 deletions

View File

@ -25,15 +25,30 @@ services:
- GITEA_MAILER_PASSWD=$GITEA_MAILER_PASSWD
volumes:
- gitea-app:/data
- gitea-app-1:/data
ports:
- 3000:3000
- 22:22
networks:
- appnet
- externalnet
ghost-mysql:
image: ${DOCKER_REGISTRY}mysql:5.7
deploy:
placement:
constraints: [node.labels.com.sigyl.git-stack-data == yes]
replicas: 1
restart_policy:
condition: any
volumes:
gitea-app:
- gitea-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
networks:
- appnet
volumes:
gitea-app-1:
gitea-data:
networks:
appnet: