-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (56 loc) · 1.11 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
version: "3.7"
services:
nginx:
build:
context: ./docker/nginx
dockerfile: Dockerfile
ports:
- '80:80'
- '443:443'
volumes:
- .:/app
depends_on:
- web
mysql:
image: mysql:8.0.25
build:
context: ./docker/mysql
ports:
- "3307:3306"
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
MYSQL_DATABASE: ${DB_DATABASE}
MYSQL_USER: ${DB_USERNAME}
MYSQL_PASSWORD: ${DB_PASSWORD}
volumes:
- mysql_data:/var/lib/mysql
web:
build:
context: ./docker/web
dockerfile: Dockerfile
ports:
- '6001:6001'
depends_on:
- mysql
- redis
volumes:
- .:/app
# pgsql:
# image: postgres:13
# restart: unless-stopped
# ports:
# - '5432:5432'
# volumes:
# - pgsql_data:/var/lib/postgresql
# environment:
# POSTGRES_DB: ${DB_DATABASE}
# POSTGRES_USER: ${DB_USERNAME}
# POSTGRES_PASSWORD: ${DB_PASSWORD}
redis:
image: redis:6.0
volumes:
- redis_data:/data
volumes:
mysql_data:
redis_data:
meilisearch_data: