2023-11-06 22:58:32 +01:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
bitwarden_server:
|
2024-02-07 17:51:20 +01:00
|
|
|
image: mcr.microsoft.com/devcontainers/dotnet:8.0
|
2023-11-06 22:58:32 +01:00
|
|
|
volumes:
|
|
|
|
- ../../:/workspace:cached
|
|
|
|
# Overrides default command so things don't shut down after the process ends.
|
|
|
|
command: sleep infinity
|
|
|
|
|
|
|
|
bitwarden_mssql:
|
2024-09-20 11:12:52 +02:00
|
|
|
image: mcr.microsoft.com/mssql/server:2022-latest
|
|
|
|
platform: linux/amd64
|
2023-11-06 22:58:32 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
|
|
../../dev/.env
|
|
|
|
environment:
|
|
|
|
ACCEPT_EULA: "Y"
|
|
|
|
MSSQL_PID: Developer
|
|
|
|
volumes:
|
2024-09-20 11:12:52 +02:00
|
|
|
- mssql_dev_data:/var/opt/mssql
|
2023-11-06 22:58:32 +01:00
|
|
|
- ../../util/Migrator:/mnt/migrator/
|
|
|
|
- ../../dev/helpers/mssql:/mnt/helpers
|
|
|
|
- ../../dev/.data/mssql:/mnt/data
|
|
|
|
network_mode: service:bitwarden_server
|
|
|
|
|
|
|
|
bitwarden_mail:
|
|
|
|
image: sj26/mailcatcher:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
network_mode: service:bitwarden_server
|
|
|
|
|
|
|
|
volumes:
|
2024-09-20 11:12:52 +02:00
|
|
|
mssql_dev_data:
|