-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
53 lines (48 loc) · 1.04 KB
/
docker-compose.dev.yml
File metadata and controls
53 lines (48 loc) · 1.04 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
version: '3.6'
services:
nginx:
volumes:
- ./conf/nginx.conf:/etc/nginx/conf.d/default.conf
php:
volumes:
- ./:/var/www/html
- ./conf/php.conf:/etc/php/7.2/pool.d/www.conf
pgsql:
image: postgres:12
restart: always
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=application_db
- PGDATA=/var/lib/postgresql/data/db-files/
networks:
- agilize
mysql:
image: mysql:8.0
ports:
- "3306:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
volumes:
# - ./conf/mysql.cnf:/etc/mysql/conf.d/my.cnf
- mysql_data:/var/lib/mysql
networks:
- agilize
rabbitmq:
image: rabbitmq:3.6.10-management
volumes:
- ./conf/rabbitmq_plugins:/etc/rabbitmq/enabled_plugins
ports:
- "15672:15672"
- "5672:5672"
networks:
- agilize
volumes:
postgres_data:
driver: local
mysql_data:
driver: local