-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
53 lines (49 loc) · 1.24 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
services:
postgres:
image: postgres:14
restart: always
environment:
POSTGRES_DB: adp-dev
POSTGRES_USER: adp
POSTGRES_PASSWORD: secret
volumes:
- ./var/postgres:/var/lib/postgresql/data
ports:
- 127.0.0.1:5432:5432
adminer:
image: adminer
ports:
- 127.0.0.1:9000:8080
environment:
ADMINER_PLUGINS: 'tables-filter'
ADMINER_DEFAULT_SERVER: 'postgres'
mysql:
image: mysql:5
environment:
MYSQL_ROOT_PASSWORD: 'secret'
MYSQL_DATABASE: 'adp-dev'
MYSQL_USER: 'adp'
MYSQL_PASSWORD: 'secret'
command: --init-file /data/application/init.sql
volumes:
- ./var/mysql:/var/lib/mysql
- ./resources/adp-dev.sql:/data/application/init.sql
ports:
- 127.0.0.1:3306:3306
elasticsearch:
image: elasticsearch:7.8.1
ports:
- 127.0.0.1:9200:9200
environment:
discovery.type: 'single-node'
indices.query.bool.max_clause_count: 8192
volumes:
- ./var/elasticsearch:/usr/share/elasticsearch/data
redis:
image: redis:latest
restart: always
ports:
- 127.0.0.1:6379:6379
volumes:
- ./var/redis/dаta:/root/redis
- ./var/redis/redis.conf:/usr/local/etc/redis/redis.conf