This commit is contained in:
parent
0c8b859444
commit
05a934d88b
|
@ -25,15 +25,30 @@ services:
|
||||||
- GITEA_MAILER_PASSWD=$GITEA_MAILER_PASSWD
|
- GITEA_MAILER_PASSWD=$GITEA_MAILER_PASSWD
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- gitea-app:/data
|
- gitea-app-1:/data
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
- 22:22
|
- 22:22
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
- externalnet
|
- 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:
|
volumes:
|
||||||
gitea-app:
|
- gitea-data:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
|
||||||
|
networks:
|
||||||
|
- appnet
|
||||||
|
volumes:
|
||||||
|
gitea-app-1:
|
||||||
|
gitea-data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
appnet:
|
appnet:
|
||||||
|
|
Loading…
Reference in New Issue