-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
66 lines (61 loc) · 1.77 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
version: '3.7'
services:
caddy:
image: caddy:latest
container_name: caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- /data/caddy/Caddyfile:/etc/caddy/Caddyfile
- /data/caddy/data:/data
- /data/caddy/config:/config
- /data/caddy/ssl/:/etc/ssl/certs/searcch/
networks:
- searcch-frontend-prod-net
- searcch-frontend-dev-net
searcch-frontend-prod:
image: searcch-frontend-production
restart: unless-stopped
build: "https://${TOKEN:-githubapitoken}:@github.com/ITI/searcch.git"
ports:
- 127.0.0.1:3000:3000
container_name: searcch-frontend-prod
env_file:
- env/searcch-frontend-prod.env
volumes:
- /data/searcch-frontend-prod/nuxt.config.js:/app/nuxt.config.js
networks:
- searcch-frontend-prod-net
searcch-frontend-dev:
image: searcch-frontend-development
restart: unless-stopped
build: "https://${TOKEN:-githubapitoken}:@github.com/ITI/searcch.git#dev-branch"
ports:
- 127.0.0.1:3000:3000
container_name: searcch-frontend-dev
env_file:
- env/searcch-frontend-dev.env
volumes:
- /data/searcch-frontend-dev/nuxt.config.js:/app/nuxt.config.js
networks:
- searcch-frontend-dev-net
searcch-frontend-local-dev:
image: searcch-frontend-local-dev
container_name: searcch-frontend-local-dev
restart: unless-stopped
build: .
env_file:
- env/searcch-frontend-local-dev.env
ports:
- 127.0.0.1:3000:3000
networks:
- searcch-frontend-local-dev-net
networks:
searcch-frontend-dev-net:
name: searcch-frontend-dev-net
searcch-frontend-prod-net:
name: searcch-frontend-prod-net
searcch-frontend-local-dev-net:
name: searcch-frontend-local-dev-net