forked from campusdomar/PuMuKIT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (44 loc) · 1.07 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
version: '3.4'
services:
php:
image: teltek/pumukit
build:
context: ./
cache_from:
- teltek/pumukit
- teltek/nginx
depends_on:
- db
env_file:
- ./doc/docker/.env
volumes:
# Comment out the next lines in production
# - ./web/storage:/srv/pumukit/web/storage:rw,cached
# - ./web/uploads:/srv/pumukit/web/uploads:rw,cached
# - ./web/bundles:/srv/pumukit/web/bundles:rw,cached
# Comment out the next line for dev
- ./:/srv/pumukit
h2-proxy:
image: teltek/nginx
build:
context: ./doc/docker/nginx
cache_from:
- teltek/pumukit
- teltek/nginx
depends_on:
- php
volumes:
# Comment out the next lines in production
# - ./web/storage:/srv/pumukit/web/storage:ro
# - ./web/uploads:/srv/pumukit/web/uploads:ro
# - ./web/bundles:/srv/pumukit/web/bundles:ro
- ./:/srv/pumukit
ports:
- "80:80"
- "443:443"
db:
image: mongo:4.0
volumes:
- db-data:/data/db:rw
volumes:
db-data: {}