.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
8975d1fe00
commit
8fb14b40cc
|
@ -32,52 +32,6 @@ services:
|
|||
networks:
|
||||
- appnet
|
||||
- externalnet
|
||||
ghost:
|
||||
# ghost blog
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.labels.com.sigyl.git-stack == yes]
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
image: ${LOCAL_DOCKER_REGISTRY}ghost
|
||||
volumes:
|
||||
- ghost-content-images:/var/lib/ghost/content/images
|
||||
- ghost-content-settings:/var/lib/ghost/content/settings
|
||||
- ghost-content-adapters:/var/lib/ghost/content/adapters
|
||||
- ghost-content-data:/var/lib/ghost/content/data
|
||||
- ghost-content-logs:/var/lib/ghost/content/logs
|
||||
|
||||
environment:
|
||||
- GIT_DOMAIN=$GIT_DOMAIN
|
||||
- GHOST-MAIL-SERVICE=$GHOST-MAIL-SERVICE
|
||||
- GHOST-MAIL-USER=$GHOST-MAIL-USER
|
||||
- GHOST-MAIL-PASSWORD=$GHOST-MAIL-PASSWORD
|
||||
- COMMENTO_ORIGIN=$COMMENTO_ORIGIN
|
||||
- database__client=mysql
|
||||
- database__connection__host=ghost-mysql
|
||||
- database__connection__user=root
|
||||
- database__connection__password=$GHOST_MYSQL_ROOT_PASSWORD
|
||||
- database__connection__database=ghost
|
||||
- database__pool__min=0 # https://github.com/knex/knex/issues/975
|
||||
networks:
|
||||
- appnet
|
||||
- externalnet
|
||||
ghost-mysql:
|
||||
image: mysql:5.7
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.labels.com.sigyl.git-stack-data == yes]
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
volumes:
|
||||
- ghost-data:/var/lib/mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: $GHOST_MYSQL_ROOT_PASSWORD
|
||||
networks:
|
||||
- appnet
|
||||
|
||||
commento:
|
||||
deploy:
|
||||
placement:
|
||||
|
|
Reference in New Issue