-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
72 lines (60 loc) · 1.62 KB
/
docker-compose.dev.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
63
64
65
66
67
68
69
70
71
version: '3.9'
services:
mysql:
image: mysql:8.3
env_file:
- .env.development #It didn't work!
ports:
- "${MYSQL_PORT}:3306"
container_name: dev_shop_mysql
volumes:
- dbdata_dev:/var/lib/mysql
restart: always
command: [ 'mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci' ]
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_DB}
MYSQL_DATABASE: ${MYSQL_DB}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
mongodb:
image: mongo:8.0.0-rc6-jammy
container_name: dev_shop_mongodb
ports:
- "${MONGO_PORT:-27017}:27017"
env_file:
- .env.development
volumes:
- mongodb_data_dev:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
redis:
image: redis:7.2.4
container_name: dev_shop_redis
restart: always
env_file:
- .env.development
ports:
- "${REDIS_PORT:-6379}:6379"
command: redis-server --loglevel warning --protected-mode no --save "" --appendonly no
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- redis_data_dev:/data
minio:
image: minio/minio:RELEASE.2024-05-01T01-11-10Z
container_name: dev_vivify_minio
ports:
- "9000:9000" #api minio port
- "9001:9001" #console minio port
environment:
MINIO_ROOT_USER: vivify
MINIO_ROOT_PASSWORD: vivify
command: server /data --console-address ":9001"
volumes:
- minio_data_dev:/data
volumes:
dbdata_dev:
mongodb_data_dev:
redis_data_dev:
minio_data_dev: