-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (45 loc) · 893 Bytes
/
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
46
47
48
49
50
version: "3.3"
services:
web:
image: ghcr.io/mingj7235/summonerswar_strategy_app/main:latest
container_name: summonerswar
environment:
TZ: "Asia/Seoul"
networks:
- bridge
env_file:
- summonerswar.env
ports:
- "8080:8080"
depends_on:
- web-server
# - redis
web-server:
image: nginx
container_name: nginx
ports:
- "80:80"
networks:
- bridge
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/conf.d:/etc/nginx/conf.d
command: [ nginx-debug, '-g', 'daemon off;' ]
# redis:
# image: redis:6.2.5-alpine
# container_name: redis
# networks:
# - bridge
# environment:
# TZ: "Asia/Seoul"
# volumes:
# - redis:/data
# restart: always
# ports:
# - "6379:6379"
volumes:
# redis:
web-server:
networks:
bridge:
driver: bridge