-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 1.11 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
36
37
38
39
40
41
42
43
44
45
services:
opengrades:
image: suufi/mitopengrades:latest
ports:
- "3000:3000"
networks:
- web
environment:
MONGODB_CONNECTION_URI: ${MONGODB_CONNECTION_URI}
MIT_OIDC_WELLKNOWN: ${MIT_OIDC_WELLKNOWN}
MIT_OIDC_CLIENT_ID: ${MIT_OIDC_CLIENT_ID}
MIT_OIDC_CLIENT_SECRET: ${MIT_OIDC_CLIENT_SECRET}
MIT_OIDC_AUTHORIZATION_ENDPOINT: ${MIT_OIDC_AUTHORIZATION_ENDPOINT}
MIT_OIDC_ISSUER: ${MIT_OIDC_ISSUER}
MIT_API_CLIENT_ID: ${MIT_API_CLIENT_ID}
MIT_API_CLIENT_SECRET: ${MIT_API_CLIENT_SECRET}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
NEXTAUTH_URL: ${NEXTAUTH_URL}
AUTH_TRUST_HOST: ${AUTH_TRUST_HOST}
volumes:
- ./public:/app/public
nginx:
image: nginx:mainline-alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
networks:
- web
volumes:
- ./public:/usr/share/nginx/html
- /home/suufi/.deploy/nginx:/etc/nginx/conf.d
- /etc/ssl:/etc/nginx/ssl:ro
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
- opengrades
volumes:
web-root:
networks:
web:
driver: bridge