my-runtipi/vaultwarden/docker-compose.yml

27 lines
844 B
YAML
Raw Normal View History

2024-11-25 04:11:54 +00:00
services:
vaultwarden:
environment:
ADMIN_TOKEN: "${VAULTWARDEN_ADMIN_PASSWORD}"
DATABASE_URL: "postgresql://vaultwarden:${VAULTWARDEN_POSTGRES_PASSWORD}@vaultwarden-pg:5432/vaultwarden-db"
# RUNTIPI Environment
RUNTIPI_APP_PORT: "${APP_PORT}"
RUNTIPI_APP_ID: "${APP_ID}"
RUNTIPI_APP_DATA_DIR: "${APP_DATA_DIR}"
RUNTIPI_APP_EXPOSED: "${APP_EXPOSED}"
RUNTIPI_APP_DOMAIN: "${APP_DOMAIN}"
RUNTIPI_APP_HOST: "${APP_HOST}"
networks:
# - tipi_main_network
- vaultwarden-pg
volumes:
- ../vaultwarden/data:/data
labels:
# Websecure
2025-01-16 16:01:45 +00:00
traefik.http.routers.vaultwarden.rule: Host(`vault.${ROOT_DOMAIN}`)${APP_ROUTE_OPTIONAL:-}
traefik.docker.network: runtipi_tipi_main_network
2024-11-25 04:11:54 +00:00
networks:
vaultwarden-pg:
2024-11-25 04:11:54 +00:00
external: true
2025-02-28 01:55:06 +00:00
name: vault_pg_net