Skip to content

Commit 3761592

Browse files
committed
docker fixes
1 parent 7237cc5 commit 3761592

2 files changed

Lines changed: 41 additions & 21 deletions

File tree

.env-local

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
REDIS_ADDRESS=172.17.0.1:6379
2-
RABBITMQ_ADDRESS=172.17.0.1:5672
3-
RABBITMQ_USER=rabbitmq
4-
RABBITMQ_PASSWORD=rabbitmq
5-
WEBSERVICES_URL=http://172.17.0.1:8080
6-
WEBSERVICES_APIKEY=ELGAoKHyFPfsWhmWF5F/8uNz2YcdTrojCZbRfvlFwBKJIhDUdvMwM4bmljSsEBq57riyXRij8FoqmxWR8C2BQIEaGG68uFJKcQmJlLY2ntAFOYUloccRCr/eBW8sJZsTIGaIdVdsDeDOrRJR487tfFGNHW2Ezp+oVrZVsd3C9e0VobSE1fXdSFz3R5MIqH3bLprfcDLJL/U8gtvUBegOQI22Vviha24W0/76SQSo72Z7i6GrpU/OnrsjcHQSwyC6VeCTv5JjCP/BSsaCK0Zxw3OlzQsPAprQug9Pwm5MrH/pkkxhqLKcCxjsU25Zj+ipkKOzsO+rmqaIMsK6ILke6w==
1+
OPENSPY_REDIS_ADDRESS=redis
2+
OPENSPY_REDIS_PORT=6379
3+
OPENSPY_REDIS_SSL=0
4+
OPENSPY_REDIS_SSL_NO_VERIFY=1
5+
OPENSPY_AMQP_ADDRESS=rabbit
6+
OPENSPY_AMQP_PORT=5672
7+
OPENSPY_AMQP_USER=openspy
8+
OPENSPY_AMQP_PASSWORD=openspy
9+
OPENSPY_WEBSERVICES_URL=http://core-web:8080
10+
OPENSPY_API_KEY=ELGAoKHyFPfsWhmWF5F/8uNz2YcdTrojCZbRfvlFwBKJIhDUdvMwM4bmljSsEBq57riyXRij8FoqmxWR8C2BQIEaGG68uFJKcQmJlLY2ntAFOYUloccRCr/eBW8sJZsTIGaIdVdsDeDOrRJR487tfFGNHW2Ezp+oVrZVsd3C9e0VobSE1fXdSFz3R5MIqH3bLprfcDLJL/U8gtvUBegOQI22Vviha24W0/76SQSo72Z7i6GrpU/OnrsjcHQSwyC6VeCTv5JjCP/BSsaCK0Zxw3OlzQsPAprQug9Pwm5MrH/pkkxhqLKcCxjsU25Zj+ipkKOzsO+rmqaIMsK6ILke6w==
11+
OPENSPY_NATNEG_BIND_ADDR=0.0.0.0
12+
OPENSPY_QR_BIND_ADDR=0.0.0.0
13+
OPENSPY_SBV1_BIND_ADDR=0.0.0.0
14+
OPENSPY_SBV2_BIND_ADDR=0.0.0.0
15+
OPENSPY_CDKEY_BIND_ADDR=0.0.0.0
16+
OPENSPY_GP_BIND_ADDR=0.0.0.0
17+
OPENSPY_GSTATS_BIND_ADDR=0.0.0.0
18+
OPENSPY_SM_BIND_ADDR=0.0.0.0

docker-compose.yaml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,51 @@ services:
33
serverbrowsing:
44
ports:
55
- "28910:30693"
6-
command: /opt/openspy/bin/serverbrowsing
76
env_file: .env-local
8-
image: os-core
7+
environment:
8+
RUN_FILE: serverbrowsing
9+
image: chcniz/openspy-core
910
qr:
1011
ports:
11-
- "27900:30694"
12-
command: /opt/openspy/bin/qr
12+
- "27900:30694/udp"
1313
env_file: .env-local
14-
image: os-core
14+
environment:
15+
RUN_FILE: qr
16+
image: chcniz/openspy-core
1517
natneg:
1618
ports:
17-
- "27901:30695"
18-
command: /opt/openspy/bin/qr
19+
- "27901:30695/udp"
20+
environment:
21+
RUN_FILE: natneg
1922
env_file: .env-local
20-
image: os-core
23+
image: chcniz/openspy-core
2124
GP:
2225
ports:
2326
- "29900:30974"
24-
command: /opt/openspy/bin/GP
27+
environment:
28+
RUN_FILE: GP
2529
env_file: .env-local
26-
image: os-core
30+
image: chcniz/openspy-core
2731
SM:
2832
ports:
2933
- "29901:30734"
30-
command: /opt/openspy/bin/SM
34+
environment:
35+
RUN_FILE: SM
3136
env_file: .env-local
32-
image: os-core
37+
image: chcniz/openspy-core
3338
gstats:
3439
ports:
3540
- "29920:30836"
3641
command: /opt/openspy/bin/gstats
42+
environment:
43+
RUN_FILE: gstats
3744
env_file: .env-local
38-
image: os-core
45+
image: chcniz/openspy-core
3946
FESL-bf2142:
4047
ports:
4148
- "18300:30837"
42-
command: /opt/openspy/bin/FESL
49+
environment:
50+
RUN_FILE: FESL
4351
env_file: .env-local
44-
image: os-core
52+
image: chcniz/openspy-core
4553

0 commit comments

Comments
 (0)