forked from repotrial/nedrexapi_v2d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
100 lines (95 loc) · 2.44 KB
/
docker-compose.yml
File metadata and controls
100 lines (95 loc) · 2.44 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: "3.1"
services:
open-nedrex-redis:
image: redis
container_name: open_nedrex_live_redis
# ports:
# - "127.0.0.1:5379:6379"
restart: always
networks:
- nedrexdb_default
licensed-nedrex-redis:
image: redis
container_name: licensed_nedrex_live_redis
# ports:
# - "127.0.0.1:6379:6379"
restart: always
networks:
- nedrexdb_default
worker_open:
image: ghcr.io/repotrial/nedrexapi_v2d:master
build:
context: .
container_name: nedrexapi_worker_open
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config/open_config.toml:/app/nedrexapi/.open_config.toml
- /home/andim/projects/nedrex/nedrexdb_v2d/nedrex_files:/data/nedrex_files
- /tmp:/tmp
command:
- "bash"
- "./start_worker.sh"
- "-c"
- ".open_config.toml"
- "-h"
- "open-nedrex-redis"
- "-p"
- "6379"
- "-d"
- "3"
networks:
- nedrexdb_default
restart: always
runner_open:
image: ghcr.io/repotrial/nedrexapi_v2d:master
container_name: nedrexapi_open
ports:
- 7123:7123
volumes:
- ./config/open_config.toml:/app/nedrexapi/.open_config.toml
- /home/andim/projects/nedrex/nedrexdb_v2d/nedrex_files:/data/nedrex_files
- /tmp:/tmp
command:
- "bash"
- "./run_open.sh"
networks:
- nedrexdb_default
worker_licensed:
image: ghcr.io/repotrial/nedrexapi_v2d:master
container_name: nedrexapi_worker_licensed
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config/licensed_config.toml:/app/nedrexapi/.licensed_config.toml
- /home/andim/projects/nedrex/nedrexdb_v2d/nedrex_files:/data/nedrex_files
- /tmp:/tmp
command:
- "bash"
- "./start_worker.sh"
- "-c"
- ".licensed_config.toml"
- "-h"
- "licensed-nedrex-redis"
- "-p"
- "6379"
- "-d"
- "3"
networks:
- nedrexdb_default
restart: always
runner_licensed:
image: ghcr.io/repotrial/nedrexapi_v2d:master
container_name: nedrexapi_licensed
ports:
- 6123:8123
volumes:
- ./config/licensed_config.toml:/app/nedrexapi/.licensed_config.toml
- /home/andim/projects/nedrex/nedrexdb_v2d/nedrex_files:/data/nedrex_files
- /tmp:/tmp
command:
- "bash"
- "./run_licensed.sh"
networks:
- nedrexdb_default
networks:
nedrexdb_default:
external: true