mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 12:40:22 -05:00

* Skip one_time_setup in GH Codespaces * Make .env File Optional * Wrap Path in Single Quotes * Comment out .env File * Add Modify Database Task * Work on modify_database.ps1 * Add space * Remove compose version * Do changes in community as well * Do required: false * Reverse check * Remove printenv * Skip DB changes * Remove docker outside of docker feature * Remove newlines
33 lines
881 B
YAML
33 lines
881 B
YAML
services:
|
|
bitwarden_server:
|
|
image: mcr.microsoft.com/devcontainers/dotnet:8.0
|
|
volumes:
|
|
- ../../:/workspace:cached
|
|
# Overrides default command so things don't shut down after the process ends.
|
|
command: sleep infinity
|
|
|
|
bitwarden_mssql:
|
|
image: mcr.microsoft.com/mssql/server:2022-latest
|
|
platform: linux/amd64
|
|
restart: unless-stopped
|
|
env_file:
|
|
- path: ../../dev/.env
|
|
required: false
|
|
environment:
|
|
ACCEPT_EULA: "Y"
|
|
MSSQL_PID: Developer
|
|
volumes:
|
|
- mssql_dev_data:/var/opt/mssql
|
|
- ../../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:
|
|
mssql_dev_data:
|