mirror of
https://github.com/bitwarden/server.git
synced 2025-04-07 22:18:17 -05:00
wip: use build
directive
This commit is contained in:
parent
3c24083961
commit
04437f0455
@ -1,21 +1,25 @@
|
||||
services:
|
||||
api:
|
||||
image: api
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./src/Api/Dockerfile
|
||||
ports:
|
||||
- "4000:5000"
|
||||
environment:
|
||||
globalSettings__DataProtection__directory: /home/app/.aspnet/DataProtection-Keys
|
||||
globalSettings__selfHosted: true
|
||||
identity:
|
||||
image: 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.pfx
|
||||
globalSettings__IdentityServer__CertificateLocation: /home/app/config/identity_server_dev.pfx
|
||||
volumes:
|
||||
- /tmp/server:/home/app/config # identity.pfx exists here
|
||||
- ./dev:/home/app/config # identity.pfx exists here
|
||||
mssql:
|
||||
image: bitwarden/mssql:2024.10.0
|
||||
container_name: bitwarden-mssql
|
||||
|
Loading…
x
Reference in New Issue
Block a user