EnvronmentManagement/docker-compose.yml

35 lines
914 B
YAML
Raw Normal View History

2021-10-02 02:34:56 +01:00
version: "3.4"
services:
frontend:
image: registry.jacknet.io/51m0n/environment-frontend:latest
2021-10-03 02:08:31 +01:00
depends_on:
- database
environment:
- ASPNETCORE_oidc_region=openid-connect
- ASPNETCORE_oidc_clientid=51m0n-temperature
- ASPNETCORE_oidc_clientsecret=
- ASPNETCORE_mongodb_uri=mongodb://database:27017/
2021-10-02 02:34:56 +01:00
database:
2021-10-03 02:08:31 +01:00
image: mongo:latest
2021-10-03 16:18:05 +01:00
volumes:
- "db-data:/data/db"
2021-10-02 02:34:56 +01:00
apiserver:
image: registry.jacknet.io/51m0n/environment-api:latest
2021-10-03 00:08:41 +01:00
environment:
2021-10-03 02:08:31 +01:00
- GIN_DB_PATH=mongodb://database:27017/
depends_on:
- database
2021-10-02 02:34:56 +01:00
proxy:
image: nginx:latest
2021-10-03 02:08:31 +01:00
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "9030:9000"
depends_on:
- apiserver
- frontend
2021-10-03 16:18:05 +01:00
volumes:
db-data: