forked from expfactory/expfactory-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (55 loc) · 1.03 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
db:
image: postgres
data:
image: cogniteev/echo
volumes:
- /var/www/assets
uwsgi:
restart: always
image: vanessa/expfactory
volumes_from:
- data
volumes:
- .:/code
- ./static:/var/www/static
links:
- redis
- db
nginx:
restart: always
image: nginx
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./uwsgi_params.par:/etc/nginx/uwsgi_params.par:ro
- /etc/ssl/certs:/etc/ssl/certs:ro
- /var/www/.well-known/acme-challenge:/var/www/.well-known/acme-challenge:ro
- /etc/ssl/private:/etc/ssl/private:ro
volumes_from:
- uwsgi
- data
links:
- uwsgi
- db
redis:
restart: always
image: redis
worker:
image: vanessa/expfactory
command: celery worker -A expdj.celery -Q default -n default@%h
volumes:
- .:/code
volumes_from:
- uwsgi
- data
links:
- redis
- db
#explorer:
# image: vanessa/shiny
# volumes:
# - ./expfactory-explorer/:/srv/shiny-server/
# ports:
# - "3838:3838"