.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
giles 2022-06-08 19:13:56 +01:00
parent 3b6c1749fa
commit b9d46ec004
1 changed files with 13 additions and 4 deletions

View File

@ -23,6 +23,11 @@ services:
- GITEA_MAILER_USER=$GITEA_MAILER_USER - GITEA_MAILER_USER=$GITEA_MAILER_USER
- GITEA_MAILER_FROM=$GITEA_MAILER_FROM - GITEA_MAILER_FROM=$GITEA_MAILER_FROM
- GITEA_MAILER_PASSWD=$GITEA_MAILER_PASSWD - GITEA_MAILER_PASSWD=$GITEA_MAILER_PASSWD
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=mysql:3306
- GITEA__database__NAME=gitead
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
volumes: volumes:
- gitea-app-4:/data - gitea-app-4:/data
@ -33,7 +38,7 @@ services:
- appnet - appnet
- externalnet - externalnet
mysql: mysql:
image: ${DOCKER_REGISTRY}mysql:5.7 image: ${DOCKER_REGISTRY}mysql:8
deploy: deploy:
placement: placement:
constraints: [node.labels.com.sigyl.git-stack-data == yes] constraints: [node.labels.com.sigyl.git-stack-data == yes]
@ -41,14 +46,18 @@ services:
restart_policy: restart_policy:
condition: any condition: any
volumes: volumes:
- gitea-data-1:/var/lib/mysql - gitea-data-5:/var/lib/mysql
environment: environment:
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD #- MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
- MYSQL_ROOT_PASSWORD=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=gitea
- MYSQL_DATABASE=gitea
networks: networks:
- appnet - appnet
volumes: volumes:
gitea-app-4: gitea-app-4:
gitea-data-1: gitea-data-5:
networks: networks:
appnet: appnet: