-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathcompose.yml
More file actions
35 lines (32 loc) · 940 Bytes
/
compose.yml
File metadata and controls
35 lines (32 loc) · 940 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
# Config file for compose, a tool that allows for easily managing multiple containers.
# https://docs.docker.com/compose/
services:
database:
# not :nightly because doing that once caused failures when graph linking
# and also caused errors with query parameters (twice)
build: ./Database
ports:
- 8000:8000
restart: unless-stopped
volumes:
- ./data/surreal:/database
command:
- start
- -u=root
- -p=root
- surrealkv://database
economy:
build: ./Economy
ports:
- 2009:2009
restart: unless-stopped
volumes:
- ./data/economy:/data/economy
site:
build: .
ports:
- 4443:4443
restart: unless-stopped
depends_on:
- database # will keep retrying until database is ready
- economy