-
-
Notifications
You must be signed in to change notification settings - Fork 165
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (44 loc) · 866 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (44 loc) · 866 Bytes
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
services:
# Development service
organice-dev:
build:
context: .
target: development
ports:
- '3000:3000'
volumes:
- .:/opt/organice
- /opt/organice/node_modules
environment:
- NODE_ENV=development
profiles:
- dev
stdin_open: true
tty: true
command: tail -f /dev/null
# Production service
organice:
build:
context: .
target: production
image: 'twohundredok/organice:latest'
ports:
- '5000:5000'
logging:
driver: json-file
environment:
REACT_APP_WEBDAV_URL: http://webdav.example.com
profiles:
- prod
# WebDAV service for testing
apache-webdav:
build:
context: ./
dockerfile: ./doc/webdav/Dockerfile
ports:
- '8080:80'
logging:
driver: journald
profiles:
- prod
- dev