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:
|
||||
app:
|
||||
image: decentral1se/gotosocial:latest
|
||||
secrets:
|
||||
- db_password
|
||||
environment:
|
||||
- GTS_ACCOUNTS_APPROVAL_REQUIRED
|
||||
- GTS_ACCOUNTS_OPEN_REGISTRATION
|
||||
- GTS_ACCOUNTS_REASON_REQUIRED
|
||||
- GTS_DB_ADDRESS=db
|
||||
- GTS_DB_DATABASE=gotosocial
|
||||
- GTS_DB_PASSWORD_FILE=/run/secrets/db_password
|
||||
- GTS_DB_PORT=5432
|
||||
- GTS_DB_TYPE=postgres
|
||||
- GTS_DB_USER=gotosocial
|
||||
- GTS_HOST=${DOMAIN}
|
||||
- GTS_LETSENCRYPT_ENABLED=false
|
||||
- GTS_STORAGE_SERVE_HOST=${DOMAIN}
|
||||
configs:
|
||||
- source: entrypoint
|
||||
target: /entrypoint.sh
|
||||
mode: 0555
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
command: server start
|
||||
entrypoint: /entrypoint.sh
|
||||
volumes:
|
||||
- app:/gotosocial/storage
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
secrets:
|
||||
- db_password
|
||||
environment:
|
||||
- GTS_ACCOUNTS_APPROVAL_REQUIRED
|
||||
- GTS_ACCOUNTS_OPEN_REGISTRATION
|
||||
- GTS_ACCOUNTS_REASON_REQUIRED
|
||||
- GTS_DB_ADDRESS=db
|
||||
- GTS_DB_DATABASE=gotosocial
|
||||
- GTS_DB_PASSWORD_FILE=/run/secrets/db_password
|
||||
- GTS_DB_PORT=5432
|
||||
- GTS_DB_TYPE=postgres
|
||||
- GTS_DB_USER=gotosocial
|
||||
- GTS_HOST=${DOMAIN}
|
||||
- GTS_LETSENCRYPT_ENABLED=false
|
||||
- GTS_STORAGE_SERVE_HOST=${DOMAIN}
|
||||
configs:
|
||||
- source: entrypoint
|
||||
target: /entrypoint.sh
|
||||
mode: 0555
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
command: server start
|
||||
entrypoint: /entrypoint.sh
|
||||
volumes:
|
||||
- app:/gotosocial/storage
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
|
||||
db:
|
||||
image: postgres:10-alpine
|
||||
|
|
Loading…
Reference in New Issue