Deploy to do
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-05-11 10:45:59 +01:00
parent de6a4c4b47
commit d341db4bf9
3 changed files with 17 additions and 5 deletions

14
.drone-do.star Normal file
View File

@ -0,0 +1,14 @@
load("@this//commento:drone.star", "drone")
load("@this//commento:stack-name.star", "stackName")
load("@this//commento:stack-root.star", "stackRoot")
def main(ctx):
return drone(
ctx,
"do",
stackRoot,
stackName,
[]
)

View File

@ -4,9 +4,7 @@
* commento-github-key * commento-github-key
* commento-github-secret * commento-github-secret
* commento-origin * commento-origin
* commento-postgres-db
* commento-postgres-password * commento-postgres-password
* commento-postgres-user
* commento-smtp-from-address * commento-smtp-from-address
* commento-smtp-host * commento-smtp-host
* commento-smtp-port * commento-smtp-port

View File

@ -20,7 +20,7 @@ services:
COMMENTO_GITHUB_SECRET: $COMMENTO_GITHUB_SECRET COMMENTO_GITHUB_SECRET: $COMMENTO_GITHUB_SECRET
COMMENTO_FORBID_NEW_OWNERS: $COMMENTO_FORBID_NEW_OWNERS COMMENTO_FORBID_NEW_OWNERS: $COMMENTO_FORBID_NEW_OWNERS
COMMENTO_PORT: 8080 COMMENTO_PORT: 8080
COMMENTO_POSTGRES: postgres://${COMMENTO_POSTGRES_USER}:${COMMENTO_POSTGRES_PASSWORD}@commento-postgres:5432/${COMMENTO_POSTGRES_DB}?sslmode=disable COMMENTO_POSTGRES: postgres://commento:${COMMENTO_POSTGRES_PASSWORD}@commento-postgres:5432/commento?sslmode=disable
networks: networks:
- appnet - appnet
- externalnet - externalnet
@ -33,8 +33,8 @@ services:
condition: any condition: any
image: postgres:11-alpine image: postgres:11-alpine
environment: environment:
POSTGRES_DB: ${COMMENTO_POSTGRES_DB} POSTGRES_DB: commento
POSTGRES_USER: ${COMMENTO_POSTGRES_USER} POSTGRES_USER: commento
POSTGRES_PASSWORD: ${COMMENTO_POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${COMMENTO_POSTGRES_PASSWORD}
networks: networks:
- appnet - appnet