Deploy to do
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
de6a4c4b47
commit
d341db4bf9
|
@ -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,
|
||||
[]
|
||||
)
|
||||
|
|
@ -4,9 +4,7 @@
|
|||
* commento-github-key
|
||||
* commento-github-secret
|
||||
* commento-origin
|
||||
* commento-postgres-db
|
||||
* commento-postgres-password
|
||||
* commento-postgres-user
|
||||
* commento-smtp-from-address
|
||||
* commento-smtp-host
|
||||
* commento-smtp-port
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
COMMENTO_GITHUB_SECRET: $COMMENTO_GITHUB_SECRET
|
||||
COMMENTO_FORBID_NEW_OWNERS: $COMMENTO_FORBID_NEW_OWNERS
|
||||
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:
|
||||
- appnet
|
||||
- externalnet
|
||||
|
@ -33,8 +33,8 @@ services:
|
|||
condition: any
|
||||
image: postgres:11-alpine
|
||||
environment:
|
||||
POSTGRES_DB: ${COMMENTO_POSTGRES_DB}
|
||||
POSTGRES_USER: ${COMMENTO_POSTGRES_USER}
|
||||
POSTGRES_DB: commento
|
||||
POSTGRES_USER: commento
|
||||
POSTGRES_PASSWORD: ${COMMENTO_POSTGRES_PASSWORD}
|
||||
networks:
|
||||
- appnet
|
||||
|
|
Loading…
Reference in New Issue