2021-10-13 19:30:03 +02:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
mssql:
|
2021-11-24 19:08:36 +01:00
|
|
|
image: mcr.microsoft.com/azure-sql-edge:latest
|
2021-10-13 19:30:03 +02:00
|
|
|
environment:
|
2023-03-23 17:14:40 +01:00
|
|
|
ACCEPT_EULA: "Y"
|
2021-11-24 19:08:36 +01:00
|
|
|
MSSQL_SA_PASSWORD: ${MSSQL_PASSWORD}
|
2021-10-13 19:30:03 +02:00
|
|
|
MSSQL_PID: Developer
|
|
|
|
volumes:
|
2021-11-24 19:08:36 +01:00
|
|
|
- edgesql_dev_data:/var/opt/mssql
|
2021-10-13 19:30:03 +02:00
|
|
|
- ../util/Migrator:/mnt/migrator/
|
|
|
|
- ./helpers/mssql:/mnt/helpers
|
|
|
|
- ./.data/mssql:/mnt/data
|
|
|
|
ports:
|
2023-03-23 17:14:40 +01:00
|
|
|
- "1433:1433"
|
2021-10-13 19:30:03 +02:00
|
|
|
profiles:
|
|
|
|
- cloud
|
|
|
|
- mssql
|
2023-03-23 17:14:40 +01:00
|
|
|
|
2021-10-13 19:30:03 +02:00
|
|
|
storage:
|
|
|
|
image: mcr.microsoft.com/azure-storage/azurite:latest
|
2023-03-23 17:14:40 +01:00
|
|
|
ports:
|
|
|
|
- "10000:10000"
|
2021-10-13 19:30:03 +02:00
|
|
|
- "10001:10001"
|
|
|
|
- "10002:10002"
|
|
|
|
volumes:
|
|
|
|
- ./.data/azurite:/data
|
|
|
|
profiles:
|
|
|
|
- storage
|
|
|
|
- cloud
|
2023-03-23 17:14:40 +01:00
|
|
|
|
2021-10-13 19:30:03 +02:00
|
|
|
mail:
|
|
|
|
image: sj26/mailcatcher:latest
|
2023-03-23 17:14:40 +01:00
|
|
|
ports:
|
|
|
|
- "${MAILCATCHER_PORT}:1080"
|
2021-10-13 19:30:03 +02:00
|
|
|
- "10250:1025"
|
|
|
|
profiles:
|
|
|
|
- mail
|
|
|
|
|
2022-01-12 14:17:30 +01:00
|
|
|
postgres:
|
|
|
|
image: postgres:14
|
2023-03-23 17:14:40 +01:00
|
|
|
ports:
|
2022-01-12 14:17:30 +01:00
|
|
|
- "5432:5432"
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: vault_dev
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
|
|
volumes:
|
|
|
|
- postgres_dev_data:/var/lib/postgresql/data
|
|
|
|
- ./.data/postgres/config:/etc/postgresql
|
|
|
|
- ./.data/postgres/log:/var/log/postgresql
|
|
|
|
profiles:
|
|
|
|
- postgres
|
|
|
|
|
|
|
|
mysql:
|
|
|
|
image: mysql:8
|
|
|
|
container_name: bw-mysql
|
2023-03-23 17:14:40 +01:00
|
|
|
ports:
|
2022-01-12 14:17:30 +01:00
|
|
|
- "3306:3306"
|
|
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
|
|
|
MYSQL_DATABASE: vault_dev
|
|
|
|
volumes:
|
|
|
|
- mysql_dev_data:/var/lib/mysql
|
|
|
|
profiles:
|
|
|
|
- mysql
|
|
|
|
|
2022-05-25 22:23:58 +02:00
|
|
|
idp:
|
2023-09-05 22:57:29 +02:00
|
|
|
image: kenchan0130/simplesamlphp:1.19.8
|
2022-05-25 22:23:58 +02:00
|
|
|
container_name: idp
|
|
|
|
ports:
|
|
|
|
- "8090:8080"
|
|
|
|
environment:
|
|
|
|
SIMPLESAMLPHP_SP_ENTITY_ID: ${IDP_SP_ENTITY_ID}
|
|
|
|
SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE: ${IDP_SP_ACS_URL}
|
|
|
|
SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE: null
|
|
|
|
volumes:
|
|
|
|
- ./authsources.php:/var/www/simplesamlphp/config/authsources.php
|
|
|
|
profiles:
|
|
|
|
- idp
|
|
|
|
|
2022-06-13 09:34:50 +02:00
|
|
|
open-ldap:
|
|
|
|
image: osixia/openldap:1.5.0
|
|
|
|
command: --copy-service
|
|
|
|
environment:
|
|
|
|
LDAP_ORGANISATION: "Bitwarden"
|
|
|
|
LDAP_DOMAIN: "bitwarden.com"
|
|
|
|
volumes:
|
|
|
|
- ./directory.ldif:/container/service/slapd/assets/config/bootstrap/ldif/output.ldif
|
|
|
|
ports:
|
2023-03-23 17:14:40 +01:00
|
|
|
- "389:389"
|
|
|
|
- "636:636"
|
2022-06-13 09:34:50 +02:00
|
|
|
profiles:
|
|
|
|
- ldap
|
2023-03-23 17:14:40 +01:00
|
|
|
|
2022-09-01 02:21:40 +02:00
|
|
|
reverse-proxy:
|
|
|
|
image: nginx:alpine
|
|
|
|
container_name: reverse-proxy
|
|
|
|
volumes:
|
|
|
|
- "./reverse-proxy.conf:/etc/nginx/conf.d/default.conf"
|
2023-03-23 17:14:40 +01:00
|
|
|
ports:
|
|
|
|
- "${API_PROXY_PORT}:${API_PROXY_PORT}"
|
|
|
|
- "${IDENTITY_PROXY_PORT}:${IDENTITY_PROXY_PORT}"
|
2022-09-01 02:21:40 +02:00
|
|
|
profiles:
|
|
|
|
- proxy
|
2022-06-13 09:34:50 +02:00
|
|
|
|
2021-10-13 19:30:03 +02:00
|
|
|
volumes:
|
2021-11-24 19:08:36 +01:00
|
|
|
edgesql_dev_data:
|
2022-01-12 14:17:30 +01:00
|
|
|
postgres_dev_data:
|
|
|
|
mysql_dev_data:
|