-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
76 lines (75 loc) · 2.25 KB
/
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
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
version: '3'
services:
reverse-proxy:
image: traefik:v2.3
command:
- --api
- --providers.docker=true
- --providers.docker.exposedByDefault=false
- --entryPoints.web.address=:80
- --entryPoints.websecure.address=:443
restart: always
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./acme/:/acme/
php56:
image: h1cr.io/website/php-apache:5.6
read_only: true
build:
context: php-apache/5.6
labels:
- traefik.enable=true
- traefik.http.services.agent.loadbalancer.server.port=8080
- traefik.http.routers.php56_80.rule=Host(`php56.127.0.0.1.xip.io`)
- traefik.http.routers.php56_80.entrypoints=web
volumes:
- ./content/:/data/
- ./content/tmp:/tmp
- ./content/var/run:/var/run
php72:
image: h1cr.io/website/php-apache:7.2
read_only: true
build:
context: php-apache/7.2
labels:
- traefik.enable=true
- traefik.http.services.agent.loadbalancer.server.port=8080
- traefik.http.routers.php72_80.rule=Host(`php72.127.0.0.1.xip.io`)
- traefik.http.routers.php72_80.entrypoints=web
volumes:
- ./content/:/data/
- ./content/tmp:/tmp
- ./content/var/run:/var/run
nginx:
image: h1cr.io/website/nginx-static:latest
read_only: true
build:
context: nginx-static/latest
labels:
- traefik.enable=true
- traefik.http.services.agent.loadbalancer.server.port=8080
- traefik.http.routers.nginx_80.rule=Host(`nginx.127.0.0.1.xip.io`)
- traefik.http.routers.nginx_80.entrypoints=web
volumes:
- ./content/:/data/public
node:
image: h1cr.io/website/node:latest
labels:
- traefik.enable=true
- traefik.http.services.agent.loadbalancer.server.port=8080
- traefik.http.routers.node_80.rule=Host(`node.127.0.0.1.xip.io`)
- traefik.http.routers.node_80.entrypoints=web
volumes:
- ./node/test/:/data/
filebrowser:
image: h1cr.io/website/filebrowser:latest
environment:
SIDEAPP_PREFIX: "/_secret_123/"
labels:
- "traefik.frontend.rule=Host:filebrowser.127.0.0.1.xip.io,PathPrefix=/_secret_123/"
- "traefik.port=8080"
volumes:
- ./:/data