This commit is contained in:
parent
0c8b859444
commit
05a934d88b
|
@ -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-data:/var/lib/mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
|
||||
networks:
|
||||
- appnet
|
||||
volumes:
|
||||
gitea-app:
|
||||
gitea-app-1:
|
||||
gitea-data:
|
||||
|
||||
networks:
|
||||
appnet:
|
||||
|
|
Loading…
Reference in New Issue