-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
35 lines (33 loc) · 1.09 KB
/
docker-compose.yml
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
version: "3.5"
services:
oauth2-proxy:
container_name: ${CONTAINER_NAME_OAUTH2}
image: bitnami/oauth2-proxy:latest
restart: unless-stopped
command: --config /oauth2-proxy.cfg
ports:
- '${OAUTH2_PORT_1}:8080'
- '${OAUTH2_PORT_2}:4180'
volumes:
- "./oauth2-proxy.cfg:/oauth2-proxy.cfg"
environment:
- 'OAUTH2_PROXY_SESSION_STORE_TYPE=redis'
- 'OAUTH2_PROXY_REDIS_CONNECTION_URL=redis://${REDIS_IP_HOST}:${REDIS_PORT}/0'
redis:
container_name: ${CONTAINER_NAME_REDIS}
image: redis:latest
restart: unless-stopped
ports:
- '${REDIS_PORT}:6379'
volumes:
- '${REDIS_CONFIG}:/data'
nginx-proxy-manager:
image: jlesage/nginx-proxy-manager
container_name: ${CONTAINER_NAME_NPM}
restart: unless-stopped
ports:
- "${NPM_DASH_PORT}:8181"
- "80:8080"
- "443:4443"
volumes:
- ${NPM_CONFIG}:/config:rw