app-store/apps/vaultwarden/docker-compose.yml
2022-09-07 07:09:27 +02:00

24 lines
733 B
YAML

version: '3.7'
services:
vaultwarden:
image: vaultwarden/server:1.25.1
container_name: vaultwarden
restart: unless-stopped
ports:
- ${APP_PORT}:80
environment:
- WEBSOCKET_ENABLED=true
- ADMIN_TOKEN=${VAULTWARDEN_ADMIN_PASSWORD}
volumes:
- ${APP_DATA_DIR}/data:/data
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.vaultwarden.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.vaultwarden.entrypoints: websecure
traefik.http.routers.vaultwarden.service: vaultwarden
traefik.http.routers.vaultwarden.tls.certresolver: myresolver
traefik.http.services.vaultwarden.loadbalancer.server.port: 80