-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
86 lines (83 loc) · 1.81 KB
/
docker-compose-dev.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.7'
services:
traefik:
image: traefik:latest
ports:
- 8080:8080
ulimits:
nproc: 65535
nofile:
soft: 100000
hard: 100000
volumes:
- ./traefik/traefik.yml:/etc/traefik/traefik.yml
- ./traefik/host-dev.yml:/etc/traefik/host.yml
links:
- backend0
- backend1
# haproxy:
# image: haproxy:latest
# ports:
# - 8081:8080
# ulimits:
# nproc: 65535
# nofile:
# soft: 100000
# hard: 100000
# volumes:
# - ./haproxy:/usr/local/etc/haproxy
# - ./haproxy/haproxy-dev.cfg:/usr/local/etc/haproxy/haproxy.cfg
# links:
# - backend0
# - backend1
nginx:
image: bitnami/nginx:latest
ports:
- 8082:8080
ulimits:
nproc: 65535
nofile:
soft: 100000
hard: 100000
volumes:
- ./nginx/nginx-dev.conf:/opt/bitnami/nginx/conf/nginx.conf
links:
- backend0
- backend1
# apache:
# image: bitnami/apache:latest
# ports:
# - 8083:8080
# ulimits:
# nproc: 65535
# nofile:
# soft: 100000
# hard: 100000
# volumes:
# - ./apache/my_vhost-dev.conf:/opt/bitnami/apache/conf/vhosts/my_vhost.conf
# - ./apache/httpd-event.conf:/opt/bitnami/apache/conf/httpd.conf
# - ./apache/extra/httpd-mpm.conf:/opt/bitnami/apache/conf/extra/httpd-mpm.conf
# links:
# - backend0
# - backend1
caddy:
container_name: caddy
image: caddy:latest
ports:
- 8084:8080
ulimits:
nproc: 65535
nofile:
soft: 100000
hard: 100000
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
links:
- backend0
- backend1
backend0:
build:
context: ./node-backend
backend1:
build:
context: ./node-backend