-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (39 loc) · 959 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (39 loc) · 959 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
version: '2'
volumes:
server-conf:
external: true
server-storage:
external: true
services:
tradle:
image: tradle/server-cli:eth
network_mode: bridge
container_name: tradle-server
restart: always
ports:
- "44444:44444"
environment:
- TRADLE_SERVER_PORT=44444
- VALIDATE_FORMS=0
- NODE_ENV=production
- AUTORUN=1
- DEBUG=tradle:*
- HOME=/home
- CONF_PATH=./conf
- STORAGE_PATH=./storage
# - MODELS=./models
volumes:
- server-conf:/opt/app/conf
- server-storage:/opt/app/storage
tty: true
stdin_open: true
# command: "/opt/app/cli.js --bootstrap ./providers.js"
web-build:
image: tradle/web-app:eth
container_name: tradle-web-app
restart: always
ports:
- "55555:80"
environment:
# if url contains any '~' characters, be sure to escape them:
- DEFAULT_TRADLE_SERVER_URL=${DEFAULT_TRADLE_SERVER_URL}