-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
40 lines (35 loc) · 924 Bytes
/
docker-compose.prod.yml
File metadata and controls
40 lines (35 loc) · 924 Bytes
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
services:
nginx:
image: nginx:1.25-alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./Nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./Nginx/sites:/etc/nginx/conf.d:ro
- ./certbot/www/:/var/www/certbot/:ro
- ./data/certbot:/etc/letsencrypt
depends_on:
- client_admin
- client_main
- server
restart: always
server:
image: dhanraj11/gdg-website-server:latest
environment:
- MONGO_URI=${MONGO_URI}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_REGION=${AWS_REGION}
- S3_BUCKET_NAME=${S3_BUCKET_NAME}
restart: always
client_admin:
image: dhanraj11/gdg-website-client-admin:latest
depends_on:
- server
restart: always
client_main:
image: dhanraj11/gdg-website-client-main:latest
depends_on:
- server
restart: always