-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (50 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
57 lines (50 loc) · 1.01 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
version: '3'
networks:
internal:
driver: bridge
services:
nginx:
image: nginx:stable-alpine
container_name: nginx
restart: always
ports:
- "80:80"
volumes:
- ./.docker/nginx/conf.d:/etc/nginx/conf.d
- ./.docker/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./.docker/logs/nginx:/var/log/nginx
networks:
- internal
depends_on:
- api.pieam.dev
api.pieam.dev:
image: roneikunkel/api.pieam.dev:latest
container_name: api.pieam.dev
restart: always
volumes:
- ./:/api.pieam.dev
networks:
- internal
depends_on:
- cache
- mysql
cache:
image: redis:alpine
container_name: cache
restart: always
ports:
- 6379:6379
networks:
- internal
mysql:
image: mariadb:lts
container_name: mysql
restart: always
volumes:
- ./.docker/mysql:/var/lib/mysql
ports:
- 3306:3306
environment:
MARIADB_ROOT_PASSWORD: ${DB_PASSWORD}
networks:
- internal