-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yaml
53 lines (49 loc) · 1.08 KB
/
docker-compose.dev.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3.6'
services:
oidc-provider-app:
build:
context: .
args:
USER_ID: ${USER_ID-1000}
GROUP_ID: ${GROUP_ID-1000}
dockerfile: ./Dockerfile.dev
image: i3market/oidc-provider-dev
container_name: oidc-provider-app
restart: unless-stopped
env_file:
- .env
volumes:
- ./app:/app
- oidc-ssh:/ssh
ports:
- ${HOST_BIND_IP-127.0.0.1}:$HOST_PORT:3000
- 127.0.0.1:9229:9229
command:
- ./scripts/start.sh
networks:
- oidc-net
- reverse-proxy
depends_on:
- oidc-provider-db
oidc-provider-db:
container_name: oidc-provider-db
image: mongo:6.0.4
restart: unless-stopped
env_file:
- .env
ports:
- 27017:27017
volumes:
- oidc-mongo:/data/db
- ./db/scripts:/data/scripts
- ./db/scripts/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
command: --quiet --setParameter logLevel=0
networks:
- oidc-net
networks:
oidc-net:
reverse-proxy:
external: true
volumes:
oidc-mongo:
oidc-ssh: