-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
45 lines (42 loc) · 1.02 KB
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:
## talkpick server
talkpick-server:
image: hszoo/talkpick-server:latest
container_name: talkpick-server
networks:
- t4y
ports:
- "8080:8080"
restart: always
env_file:
- /home/ec2-user/TalkPick_Server/env/.env
## nginx
nginx:
build: ./nginx
container_name: nginx
networks:
- t4y
restart: always
ports:
- "443:443"
- "80:80"
depends_on:
- talkpick-server
volumes:
- ./nginx/conf:/etc/nginx/conf.d
- ./nginx/html/terms/privacy-policy:/usr/share/nginx/html/docs:ro
- ./nginx/html/landing:/usr/share/nginx/html/landing:ro
- /etc/ssl/cloudflare:/etc/ssl/cloudflare:ro
## promtail
promtail:
image: grafana/promtail:2.9.4
container_name: promtail
networks:
- t4y
volumes:
- /var/lib/docker/containers:/var/lib/docker/containers:ro
- ./promtail.yaml:/etc/promtail/config.yml:ro
command: -config.file=/etc/promtail/config.yml
restart: unless-stopped
networks:
t4y: