-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
43 lines (38 loc) · 964 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
version: '2'
services:
app:
image: registry.kot.tools/rougsig-flowmarbles-app:latest
restart: always
networks:
- marbles
docs:
image: registry.kot.tools/rougsig-flowmarbles-docs:latest
restart: always
networks:
- marbles
nginx:
depends_on:
- app
- docs
image: nginx
restart: always
volumes:
- ./nginx/flowmarbles.conf:/etc/nginx/conf.d/flowmarbles.conf
networks:
- marbles
labels:
- bridge
environment:
- VIRTUAL_HOST=flowmarbles.com,www.flowmarbles.com
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=flowmarbles.com,www.flowmarbles.com
connect-bridge:
image: stmllr/docker-client
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- nginx
command: /bin/sh -c 'docker ps -f label=bridge --format "{{.ID}}" | xargs docker network connect bridge'
networks:
marbles: