This repository has been archived by the owner on Feb 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
93 lines (93 loc) · 2.26 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: "3"
services:
nginx:
image: upstreamable/nginx-proxy:alpine-0.7.0
ports:
- "80:80"
- 443:443
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
volumes:
- ./nginx/certs:/etc/nginx/certs:ro
- ./nginx/vhost.d:/etc/nginx/vhost.d
- ./nginx/html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
nginx-ssl:
image: jrcs/letsencrypt-nginx-proxy-companion:v1.10
volumes:
- ./nginx/certs:/etc/nginx/certs:rw
- ./nginx/vhost.d:/etc/nginx/vhost.d
- ./nginx/html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- nginx
database:
image: mongo
ports:
- 27017:27017
volumes:
- ./data/db:/data/db
cache:
image: redis
ports:
- 6379:6379
backend:
image: jdis/platform-backend
ports:
- 3000:3000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data/codes:/app/data/codes
environment:
- VIRTUAL_HOST=jdis-ia.dinf.usherbrooke.ca,localhost
- VIRTUAL_PATH=/api
- LETSENCRYPT_HOST=jdis-ia.dinf.usherbrooke.ca
- HOST_PWD=${PWD}
depends_on:
- nginx
- database
- cache
frontend:
image: jdis/platform-frontend
ports:
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- VIRTUAL_HOST=jdis-ia.dinf.usherbrooke.ca,localhost
- VIRTUAL_PATH=/
- LETSENCRYPT_HOST=jdis-ia.dinf.usherbrooke.ca
depends_on:
- nginx
- database
- cache
python-env:
image: python:2.7.15
python3-env:
image: python:3.6.8
node-env:
image: node:10.15.0
ruby-env:
image: ruby:2.6.0
sage-env:
image: sagemath/sagemath
cpp-compiler:
build: ./compilers/cpp
image: cpp-compiler
csharp-compiler:
build: ./compilers/csharp
image: csharp-compiler
java-compiler:
build: ./compilers/java
image: java-compiler
rust-compiler:
build: ./compilers/rust
image: rust-compiler
haskell-compiler:
build: ./compilers/haskell
image: haskell-compiler
fsharp-compiler:
build: ./compilers/fsharp
image: fsharp-compiler