-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (42 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
---
services:
studio:
hostname: studio
container_name: studio
image: tecnodesign/studio:latest
volumes:
- studio-config:/opt/studio/config:Z
- studio-data:/opt/studio/data:Z
## Uncommennt the following lines to enable dev environment
# - .:/var/www/studio:Z
#environment:
# - STUDIO_ENV=dev
# - STUDIO_APP_ROOT=/var/www/studio
# - STUDIO_DATA=/var/www/studio/data
# - STUDIO_DOCUMENT_ROOT=/var/www/studio/data/web
healthcheck:
test: ["CMD", "curl", "-f", "http://web.studio:9999/_me?healthcheck"]
interval: 60s
retries: 5
start_period: 20s
timeout: 30s
db.studio:
hostname: db.studio
container_name: db.studio
image: mongo:latest
volumes:
- studio-db:/data/db:Z
ports:
- 27017:27017
web.studio:
hostname: web.studio
container_name: web.studio
image: nginx:alpine
volumes:
- ./data/deploy/nginx:/etc/nginx/conf.d:Z
ports:
- 9999:9999
volumes:
studio-config:
studio-data:
studio-db: