159 lines
4.3 KiB
YAML
159 lines
4.3 KiB
YAML
|
version: '3.7'
|
||
|
|
||
|
networks:
|
||
|
bitwarden:
|
||
|
|
||
|
services:
|
||
|
bitwarden-mssql:
|
||
|
image: bitwarden/mssql:latest
|
||
|
container_name: bitwarden-mssql
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /srv/bitwarden/mssql/data:/var/opt/mssql/data
|
||
|
- /srv/bitwarden/logs/mssql:/var/opt/mssql/log
|
||
|
- /srv/bitwarden/mssql/backups:/etc/bitwarden/mssql/backups
|
||
|
env_file:
|
||
|
- ./bitwarden/mssql.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
- ./bitwarden/env/mssql.override.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
|
||
|
bitwarden-web:
|
||
|
image: bitwarden/web:latest
|
||
|
container_name: bitwarden-web
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /srv/bitwarden/web:/etc/bitwarden/web
|
||
|
- ./bitwarden/app-id.json:/etc/bitwarden/web/app-id.json:ro
|
||
|
env_file:
|
||
|
- ./bitwarden/global.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
- mail
|
||
|
|
||
|
bitwarden-attachments:
|
||
|
image: bitwarden/attachments:latest
|
||
|
container_name: bitwarden-attachments
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /srv/bitwarden/core/attachments:/etc/bitwarden/core/attachments
|
||
|
env_file:
|
||
|
- ./bitwarden/global.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
|
||
|
bitwarden-api:
|
||
|
image: bitwarden/api:latest
|
||
|
container_name: bitwarden-api
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /srv/bitwarden/core:/etc/bitwarden/core
|
||
|
- /srv/bitwarden/ca-certificates:/etc/bitwarden/ca-certificates
|
||
|
- /srv/bitwarden/logs/api:/etc/bitwarden/logs
|
||
|
env_file:
|
||
|
- ./bitwarden/global.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
- ./bitwarden/env/global.override.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
- mail
|
||
|
|
||
|
bitwarden-identity:
|
||
|
image: bitwarden/identity:latest
|
||
|
container_name: bitwarden-identity
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- ./bitwarden/identity:/etc/bitwarden/identity:ro
|
||
|
- /srv/bitwarden/core:/etc/bitwarden/core
|
||
|
- /srv/bitwarden/ca-certificates:/etc/bitwarden/ca-certificates
|
||
|
- /srv/bitwarden/logs/identity:/etc/bitwarden/logs
|
||
|
env_file:
|
||
|
- ./bitwarden/global.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
- ./bitwarden/env/global.override.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
- mail
|
||
|
|
||
|
bitwarden-admin:
|
||
|
image: bitwarden/admin:latest
|
||
|
container_name: bitwarden-admin
|
||
|
restart: unless-stopped
|
||
|
depends_on:
|
||
|
- bitwarden-mssql
|
||
|
volumes:
|
||
|
- /srv/bitwarden/core:/etc/bitwarden/core
|
||
|
- /srv/bitwarden/ca-certificates:/etc/bitwarden/ca-certificates
|
||
|
- /srv/bitwarden/logs/admin:/etc/bitwarden/logs
|
||
|
env_file:
|
||
|
- ./bitwarden/global.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
- ./bitwarden/env/global.override.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
- mail
|
||
|
|
||
|
bitwarden-icons:
|
||
|
image: bitwarden/icons:latest
|
||
|
container_name: bitwarden-icons
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /srv/bitwarden/ca-certificates:/etc/bitwarden/ca-certificates
|
||
|
- /srv/bitwarden/logs/icons:/etc/bitwarden/logs
|
||
|
env_file:
|
||
|
- ./bitwarden/global.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
|
||
|
bitwarden-notifications:
|
||
|
image: bitwarden/notifications:latest
|
||
|
container_name: bitwarden-notifications
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /srv/bitwarden/ca-certificates:/etc/bitwarden/ca-certificates
|
||
|
- /srv/bitwarden/logs/notifications:/etc/bitwarden/logs
|
||
|
env_file:
|
||
|
- ./bitwarden/global.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
- ./bitwarden/env/global.override.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
|
||
|
bitwarden-events:
|
||
|
image: bitwarden/events:latest
|
||
|
container_name: bitwarden-events
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /srv/bitwarden/ca-certificates:/etc/bitwarden/ca-certificates
|
||
|
- /srv/bitwarden/logs/events:/etc/bitwarden/logs
|
||
|
env_file:
|
||
|
- ./bitwarden/global.env
|
||
|
- ./bitwarden/env/uid.env
|
||
|
- ./bitwarden/env/global.override.env
|
||
|
networks:
|
||
|
- bitwarden
|
||
|
|
||
|
# bitwarden-nginx:
|
||
|
# image: bitwarden/nginx:latest
|
||
|
# container_name: bitwarden-nginx
|
||
|
# restart: unless-stopped
|
||
|
# depends_on:
|
||
|
# - web
|
||
|
# - admin
|
||
|
# - api
|
||
|
# - identity
|
||
|
# ports:
|
||
|
# - '80:8080'
|
||
|
# - '443:8443'
|
||
|
# volumes:
|
||
|
# - /srv/bitwarden/nginx:/etc/bitwarden/nginx
|
||
|
# - /srv/bitwarden/letsencrypt:/etc/letsencrypt
|
||
|
# - /srv/bitwarden/ssl:/etc/ssl
|
||
|
# - /srv/bitwarden/logs/nginx:/var/log/nginx
|
||
|
# env_file:
|
||
|
# - ./bitwarden/env/uid.env
|