umbrel-apps/vaultwarden/docker-compose.yml

18 lines
463 B
YAML
Raw Normal View History

2022-04-20 20:32:07 +00:00
version: "3.7"
services:
server:
image: vaultwarden/server:1.22.2@sha256:fe2a236b792fb2304ef50f86f1c25076ac5b2748e1b776fce260ad12ad29188d
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
ports:
- "$APP_VAULTWARDEN_PORT:$APP_VAULTWARDEN_PORT"
volumes:
- ${APP_DATA_DIR}/data:/data
environment:
ROCKET_PORT: "${APP_VAULTWARDEN_PORT}"
networks:
default:
ipv4_address: $APP_VAULTWARDEN_IP