-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
46 lines (41 loc) · 917 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
version: "3.3"
networks:
crb:
services:
bot:
image: ghcr.io/nathan13888/coderunnerbot/crb:latest
container_name: crb_bot
restart: always
environment:
- PISTON_URL=http://piston:2000/api/v2/
- DOTENV=/app/.env
volumes:
- ./.env:/app/.env:ro
networks:
- crb
depends_on:
- piston
piston:
image: ghcr.io/nathan13888/coderunnerbot/piston:latest
container_name: piston_api
restart: always
ports:
- 2000:2000
volumes:
- ./data/piston:/piston
#environment:
# - PISTON_REPO_URL=http://repo:8000/index
networks:
- crb
tmpfs:
- /piston/jobs:exec
- /tmp:exec
# piston-repo:
# image: ghcr.io/nathan13888/coderunnerbot/piston-repo:latest
# container_name: piston_repo
# restart: always
# command: ['--no-build']
# volumes:
# - ./piston:/piston
# networks:
# - crb