-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
47 lines (42 loc) · 1009 Bytes
/
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
services:
# Compiler engine itself
rcc:
build: .
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./exec:/exec
networks:
- runcodes-net
environment:
RUNCODES_COMPILER_EXEC_DIR: /exec
RUNCODES_COMPILER_EXEC_DIR_REMOTE: ${PWD}/exec
# PostgreSQL Database
database:
image: ghcr.io/runcodes-icmc/database:development
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=secret_password
ports:
- "5432:5432"
volumes:
- runcodes-db-vol:/var/lib/postgresql/data
networks:
- runcodes-net
###########
# Seaweed #
###########
seaweed:
image: chrislusf/seaweedfs
ports:
- 8333:8333
command: server -s3 -volume.max=50 -dir="/data" -master.volumeSizeLimitMB=256 -ip=seaweed -ip.bind=0.0.0.0
volumes:
- runcodes-seaweed-vol:/data
networks:
- runcodes-net
networks:
runcodes-net:
volumes:
runcodes-db-vol:
runcodes-seaweed-vol: