generated from coop-cloud/example
Fix indentation
This commit is contained in:
parent
62ecb0fd87
commit
5e9ebb5e1a
72
compose.yml
72
compose.yml
|
@ -4,42 +4,42 @@ version: "3.8"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: decentral1se/gotosocial:latest
|
image: decentral1se/gotosocial:latest
|
||||||
secrets:
|
secrets:
|
||||||
- db_password
|
- db_password
|
||||||
environment:
|
environment:
|
||||||
- GTS_ACCOUNTS_APPROVAL_REQUIRED
|
- GTS_ACCOUNTS_APPROVAL_REQUIRED
|
||||||
- GTS_ACCOUNTS_OPEN_REGISTRATION
|
- GTS_ACCOUNTS_OPEN_REGISTRATION
|
||||||
- GTS_ACCOUNTS_REASON_REQUIRED
|
- GTS_ACCOUNTS_REASON_REQUIRED
|
||||||
- GTS_DB_ADDRESS=db
|
- GTS_DB_ADDRESS=db
|
||||||
- GTS_DB_DATABASE=gotosocial
|
- GTS_DB_DATABASE=gotosocial
|
||||||
- GTS_DB_PASSWORD_FILE=/run/secrets/db_password
|
- GTS_DB_PASSWORD_FILE=/run/secrets/db_password
|
||||||
- GTS_DB_PORT=5432
|
- GTS_DB_PORT=5432
|
||||||
- GTS_DB_TYPE=postgres
|
- GTS_DB_TYPE=postgres
|
||||||
- GTS_DB_USER=gotosocial
|
- GTS_DB_USER=gotosocial
|
||||||
- GTS_HOST=${DOMAIN}
|
- GTS_HOST=${DOMAIN}
|
||||||
- GTS_LETSENCRYPT_ENABLED=false
|
- GTS_LETSENCRYPT_ENABLED=false
|
||||||
- GTS_STORAGE_SERVE_HOST=${DOMAIN}
|
- GTS_STORAGE_SERVE_HOST=${DOMAIN}
|
||||||
configs:
|
configs:
|
||||||
- source: entrypoint
|
- source: entrypoint
|
||||||
target: /entrypoint.sh
|
target: /entrypoint.sh
|
||||||
mode: 0555
|
mode: 0555
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- internal
|
- internal
|
||||||
command: server start
|
command: server start
|
||||||
entrypoint: /entrypoint.sh
|
entrypoint: /entrypoint.sh
|
||||||
volumes:
|
volumes:
|
||||||
- app:/gotosocial/storage
|
- app:/gotosocial/storage
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
order: start-first
|
order: start-first
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
|
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:10-alpine
|
image: postgres:10-alpine
|
||||||
|
|
Loading…
Reference in New Issue