mirror of
https://github.com/bitwarden/server.git
synced 2025-05-04 19:22:14 -05:00
30 lines
842 B
YAML
30 lines
842 B
YAML
services:
|
|
api:
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Api/Dockerfile
|
|
ports:
|
|
- "4000:5000"
|
|
environment:
|
|
globalSettings__DataProtection__directory: /home/app/.aspnet/DataProtection-Keys
|
|
globalSettings__selfHosted: true
|
|
identity:
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Identity/Dockerfile
|
|
ports:
|
|
- "33656:5000"
|
|
environment:
|
|
globalSettings__DataProtection__directory: /home/app/.aspnet/DataProtection-Keys
|
|
globalSettings__selfHosted: true
|
|
globalSettings__IdentityServer__CertificateLocation: /home/app/config/identity_server_dev.pfx
|
|
volumes:
|
|
- ./dev:/home/app/config # identity.pfx exists here
|
|
mssql:
|
|
image: bitwarden/mssql:2024.10.0
|
|
container_name: bitwarden-mssql
|
|
ports:
|
|
- "1433:1433"
|
|
environment:
|
|
ACCEPT_EULA: true
|