-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (63 loc) · 1.38 KB
/
docker-compose.yml
File metadata and controls
63 lines (63 loc) · 1.38 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
version: '2'
services:
apache:
container_name: apache
build:
context: ./apache
ports:
- "0.0.0.0:80:80"
- "127.0.0.1:443:443"
volumes:
- ./storage-for-images/apache-configs:/etc/apache2/sites-enabled
dns: 8.8.8.8
mysql:
container_name: mysql
image: mysql:8
command: mysqld --sql_mode=""
ports:
- "127.0.0.1:3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
TZ: 'Europe/Vilnius'
volumes:
- ./storage-for-images/mysql:/var/lib/mysql
dns: 8.8.8.8
memcached:
container_name: memcached
build:
context: ./memcached
dns: 8.8.8.8
ports:
- "127.0.0.1:11211:11211"
redis:
container_name: redis
build:
context: ./redis
volumes:
- ./storage-for-images/redis:/data
dns: 8.8.8.8
ports:
- "127.0.0.1:6379:6379"
elastic17:
container_name: elastic17
build:
context: ./elastic17
ports:
- "127.0.0.1:9200:9200"
volumes:
- ./storage-for-images/elasticsearch:/usr/share/elasticsearch/data
dns: 8.8.8.8
postgres:
container_name: postgres
image: postgres:10.4
ports:
- "127.0.0.1:5432:5432"
environment:
- DEBUG=false
- DB_USER=root
- DB_PASS=root
- DB_NAME=
- DB_TEMPLATE=
- DB_EXTENSION=
volumes:
- ./storage-for-images/postgres:/var/lib/postgresql/data