-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
73 lines (67 loc) · 1.51 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
services:
# https://hub.docker.com/_/postgres
postgres:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: oj_lab
ports:
- 5432:5432
adminer:
image: adminer
restart: always
links:
- postgres
depends_on:
- postgres
environment:
- ADMINER_DEFAULT_SERVER=postgres
ports:
- 7070:8080
# https://hub.docker.com/r/bitnami/minio
minio:
image: 'bitnami/minio:latest'
restart: always
privileged: true
ports:
- '9000:9000'
- '9001:9001'
environment:
- MINIO_ROOT_USER=minio-root-user
- MINIO_ROOT_PASSWORD=minio-root-password
# https://hub.docker.com/_/redis
redis:
image: redis:latest
restart: always
ports:
- "6379:6379"
clickhouse:
image: clickhouse/clickhouse-server
restart: always
ports:
- "8123:8123"
- "9100:9000"
environment:
- CLICKHOUSE_USER=clickhouse
- CLICKHOUSE_PASSWORD=clickhouse
judger:
image: ghcr.io/oj-lab/judger:main
pull_policy: always
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- ENABLE_RCLONE=true
- INTERNAL_TOKEN=internal_token
ports:
- 8000:8000
platform:
image: ghcr.io/oj-lab/platform:main
pull_policy: always
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- 8080:8080
volumes:
- ./frontend:/platform/frontend
- ./override.docker.toml:/platform/override.toml