forked from Softhouse/xyz-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
73 lines (73 loc) · 1.82 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
mongodb:
image: mongo
expose:
- 27017
volumes:
- /var/mongo/db:/data/db
- /var/mongo/backup:/data/backup
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:
build: github.com/letterix/nginx-site-watcher.git
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
apibackup:
build: github.com/Softhouse/docker-mongodump.git
links:
- mongodb:mongo
volumes:
- /var/mongo/backup:/backup
builder:
build: github.com/Softhouse/flaming-computing-machine.git
links:
- mongodb
- sitewatcher:xyz
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
env_file: github_secret.env
environment:
- MONGO_HOST=mongodb
- SITEWATCHER_HOST=xyz
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