-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
64 lines (64 loc) · 1.59 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
mongodb:
image: mongo
expose:
- 27017
volumes:
- /var/mongo/db:/data/db
restart: always
katalog:
image: joakimbeng/katalog
expose:
- 5005
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/katalog/data:/app/data
- /var/katalog/nginx:/app/nginx
# - /var/katalog/tpl:/app/tpl
restart: always
sitewatcher:
image: joakimbeng/nginx-site-watcher
expose:
- 80
volumes:
- /var/katalog/nginx:/etc/nginx/sites-enabled
restart: always
api:
build: github.com/Softhouse/laughing-batman.git
links:
- mongodb
env_file: github_secret.env
environment:
- KATALOG_VHOSTS=default/api
- MONGO_HOST=mongodb
builder:
build: github.com/Softhouse/flaming-computing-machine.git
links:
- mongodb
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
env_file: github_secret.env
environment:
- MONGO_HOST=mongodb
restart: always
googleauth:
image: a5huynh/google-auth-proxy
expose:
- 4180
env_file: google_auth_proxy.env
links:
- sitewatcher
command: --upstream=http://sitewatcher --http-address=0.0.0.0:4180 --cookie-https-only=false --redirect-url="http://xyz.softhouse.se/oauth2/callback" --google-apps-domain="softhouse.se"
restart: always
proxy:
image: nginx
ports:
- 80:80
links:
- googleauth
- sitewatcher
volumes:
- proxy/nginx/nginx.conf:/etc/nginx/nginx.conf
- proxy/nginx/sites-enabled:/etc/nginx/sites-enabled
restart: always