-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (43 loc) · 971 Bytes
/
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
version: "3"
services:
png-web:
build: png-resa/backend
container_name: png-web
env_file:
- png-resa/backend/docker.env
volumes:
- ./png-resa/backend/config:/opt/png-resa/config
- ./log/png-web:/opt/png-resa/var/log
networks:
- png-resa-network
png-mail:
image: mailhog/mailhog:latest
container_name: png-mail
environment:
MH_STORAGE: maildir
MH_MAILDIR_PATH: /home/mailhog
volumes:
- png-mailhog-data:/home/mailhog/
ports:
- 25:1025
- 8025:8025
networks:
- png-resa-network
# proxy nginx, useful for cache & purge strategy
png-proxy:
image: nginx
container_name: png-proxy
restart: always
volumes:
- ./nginx:/etc/nginx/conf.d:ro
- ./build-front:/var/www/static/:ro
ports:
- "0.0.0.0:80:80"
links:
- png-web
networks:
- png-resa-network
volumes:
png-mailhog-data:
networks:
png-resa-network: