vps/projects/vaultwarden/compose.yaml.mako

13 lines
468 B
Text
Raw Normal View History

services:
vaultwarden:
container_name: vaultwarden
image: docker.io/vaultwarden/server:alpine
network_mode: pasta:-a,${env['pasta']['vaultwarden']['ipv4']},-a,${env['pasta']['vaultwarden']['ipv6']}
restart: always
user: ${env['users']['vaultwarden']}:${env['users']['vaultwarden']}
env_file: .env.rendered
ports:
- 127.0.0.1:${env['ports']['vaultwarden']}:8080
volumes:
- ${env['volumes']['vaultwarden']['datadir']}:/data