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