From 5e9ebb5e1af48a19b17f169aac70a0fc54763c26 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sat, 26 Jun 2021 20:33:14 +0200 Subject: [PATCH] Fix indentation --- compose.yml | 72 ++++++++++++++++++++++++++--------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/compose.yml b/compose.yml index a8c4de0..18532c3 100644 --- a/compose.yml +++ b/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