20 lines
808 B
YAML
20 lines
808 B
YAML
services:
|
|
vaultwarden:
|
|
image: vaultwarden/server:latest
|
|
container_name: vaultwarden
|
|
restart: always
|
|
environment:
|
|
# DOMAIN: "https://vaultwarden.example.com" # required when using a reverse proxy; your domain; vaultwarden needs to know it's https to work properly with attachments
|
|
SIGNUPS_ALLOWED: ${SIGNUPS_ALLOWED} # Deactivate this with "false" after you have created your account so that no strangers can register
|
|
INVITATIONS_ALLOWED: ${INVITATIONS_ALLOWED}
|
|
volumes:
|
|
- ./data:/data # the path before the : can be changed
|
|
ports:
|
|
- 8081:80 # you can replace the 11001 with your preferred port
|
|
networks:
|
|
- traefik_portal
|
|
|
|
networks:
|
|
traefik_portal:
|
|
external: true
|