Fixed indentation

This commit is contained in:
Davide Oddone 2023-03-21 23:56:07 +01:00
parent 8a013093e3
commit 90c8bf639c

View File

@ -6,7 +6,7 @@ x-logging:
# https://www.loggly.com/use-cases/docker-syslog-logging-and-troubleshooting/ # https://www.loggly.com/use-cases/docker-syslog-logging-and-troubleshooting/
tag: "container_name/{{.Name}}" tag: "container_name/{{.Name}}"
labels: "${hostname}" labels: "${hostname}"
syslog-facility: # cron, local7, etc. syslog-facility: # cron, local7, etc.
# Can be removed if not needed # Can be removed if not needed
x-opt-values: x-opt-values:
@ -21,22 +21,22 @@ services:
container_name: vaultwarden container_name: vaultwarden
restart: always restart: always
environment: environment:
ADMIN_TOKEN: ${TOKEN} # Set token if you want the admin page available ADMIN_TOKEN: ${TOKEN} # Set token if you want the admin page available
ROCKET_PORT: ${EXPOSED_PORT} ROCKET_PORT: ${EXPOSED_PORT}
VIRTUAL_PORT: ${EXPOSED_PORT} # Used by nginx-proxy VIRTUAL_PORT: ${EXPOSED_PORT} # Used by nginx-proxy
VIRTUAL_HOST: ${NDOMAIN} # Used by nginx-proxy VIRTUAL_HOST: ${NDOMAIN} # Used by nginx-proxy
LETSENCRYPT_HOST: ${NDOMAIN} LETSENCRYPT_HOST: ${NDOMAIN}
DOMAIN: ${VDOMAIN} # Used by vaultwarden to set certain links DOMAIN: ${VDOMAIN} # Used by vaultwarden to set certain links
WEBSOCKET_ENABLED: "true" WEBSOCKET_ENABLED: "true"
SIGNUPS_ALLOWED: "false" # Change to true if it's the first time running SIGNUPS_ALLOWED: "false" # Change to true if it's the first time running
# Optional environment, but useful if you want some functions # Optional environment, but useful if you want some functions
SMTP_HOST: "${protonmail-container-name}" SMTP_HOST: "${protonmail-container-name}"
SMTP_FROM: ${SFROM} SMTP_FROM: ${SFROM}
SMTP_FROM_NAME: ${SFROMNAME} SMTP_FROM_NAME: ${SFROMNAME}
SMTP_PORT: "25" # Default SMTP port for Protonmail Bridge SMTP_PORT: "25" # Default SMTP port for Protonmail Bridge
SMTP_USERNAME: ${SUSER} SMTP_USERNAME: ${SUSER}
SMTP_PASSWORD: ${SPASS} SMTP_PASSWORD: ${SPASS}
SMTP_ACCEPT_INVALID_CERTS: "true" # Necessary when using Protonmail Bridge SMTP_ACCEPT_INVALID_CERTS: "true" # Necessary when using Protonmail Bridge
volumes: volumes:
- vw-data:/data - vw-data:/data
networks: networks:
@ -44,17 +44,17 @@ services:
- vaultwarden - vaultwarden
- protonmail - protonmail
vaultwarden-backup: vaultwarden-backup:
image: bruceforce/vaultwarden-backup image: bruceforce/vaultwarden-backup
container_name: vaultwarden-backup container_name: vaultwarden-backup
restart: always restart: always
environment: environment:
TIMESTAMP: "true" TIMESTAMP: "true"
UID: ${UID} UID: ${UID}
GID: ${GID} GID: ${GID}
BACKUP_DIR: ${BACKUP_DIR} BACKUP_DIR: ${BACKUP_DIR}
DELETE_AFTER: "30" DELETE_AFTER: "30"
CRON_TIME: "0 2 * * *" CRON_TIME: "0 2 * * *"
volumes: volumes:
- vw-data:/data - vw-data:/data
- backup:/backup - backup:/backup