-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-docker-compose.yml
More file actions
67 lines (60 loc) · 1.36 KB
/
dev-docker-compose.yml
File metadata and controls
67 lines (60 loc) · 1.36 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
services:
mysql:
image: mysql:9.1.0
container_name: "mysql-container"
env_file:
- mysql.env
networks:
- dev-db-network
volumes:
- hanjari-db-dev:/var/lib/mysql
ports:
- "3306:3306"
redis:
image: redis:7.4.2
container_name: "redis-container"
networks:
- dev-db-network
ports:
- "6379:6379"
# selenium:
# image: selenium/standalone-chrome:143.0-20251212
# container_name: "selenium-container"
# shm_size: 2g
# networks:
# - dev-db-network
# ports:
# - "4444:4444"
hanjari:
image: hanjari-dev:latest
container_name: "hanjari-container"
env_file:
- .env
networks:
- dev-db-network
depends_on:
- mysql
- redis
ports:
- "8080:8080"
nginx:
image: nginx:1.27.4
container_name: "nginx-container"
volumes:
- ~/hanjari/nginx/nginx.conf:/etc/nginx/nginx.conf
- ~/hanjari/nginx/conf.d:/etc/nginx/conf.d
- /etc/letsencrypt/live/dev.backend.hanjari.site/fullchain.pem:/etc/nginx/ssl/fullchain.pem:ro
- /etc/letsencrypt/live/dev.backend.hanjari.site/privkey.pem:/etc/nginx/ssl/privkey.pem:ro
networks:
- dev-db-network
depends_on:
- hanjari
ports:
- "80:80"
- "443:443"
networks:
dev-db-network:
external: true
volumes:
hanjari-db-dev:
external: true