-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) Β· 936 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) Β· 936 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
41
42
services:
app:
container_name: app
image: gyehyunbak/payper-server:${IMAGE_TAG}
ports:
- "8080:8080"
env_file:
- .env
volumes:
- /home/ubuntu/secrets/firebase-service-account.json:/etc/secrets/firebase-service-account.json:ro
- /home/ubuntu/payper-app/logs:/logs
networks:
- payper-network
nginx:
container_name: nginx
image: nginx:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/certbot/webroot:/var/www/certbot
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
- app
restart: always
networks:
- payper-network
certbot:
container_name: certbot
image: certbot/certbot
volumes:
- ./nginx/certbot/webroot:/var/www/certbot
- /etc/letsencrypt:/etc/letsencrypt
networks:
- payper-network
networks:
payper-network:
driver: bridge