-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (42 loc) · 997 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (42 loc) · 997 Bytes
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
version: "3"
services:
app:
build: .docker/app
volumes:
- .:/app
- /var/cache
depends_on:
- mariadb
- redis
app-http:
image: nginx:latest
ports:
- "80:80"
volumes:
- .:/app
- .docker/nginx/app.conf:/etc/nginx/conf.d/default.conf
depends_on:
- app
mariadb:
image: mariadb:latest
ports:
- "3306:3306"
volumes:
- mariadb-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
redis:
image: redis:latest
volumes:
- redis-data:/data
- .docker/redis/redis.conf:/usr/local/etc/redis/redis.conf
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- "8100:80"
environment:
PMA_HOST: mariadb
MYSQL_ROOT_PASSWORD: root
volumes:
mariadb-data:
redis-data: