You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
635 B
32 lines
635 B
version: "3.3"
|
|
|
|
services:
|
|
content:
|
|
build: content/
|
|
ports:
|
|
- "9999:8080"
|
|
server:
|
|
build: server/
|
|
ports:
|
|
- "8888:27960"
|
|
client:
|
|
depends_on:
|
|
- content
|
|
- server
|
|
#build: client/
|
|
image: nginxinc/nginx-unprivileged
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- "QUAKEJS_SERVER_URL=172.16.69.1:8888"
|
|
- "QUAKEJS_CONTENT_URL=172.16.69.1:9999"
|
|
|
|
# Prevent subnet conflict with OpenVPN
|
|
# Can connect to services via 172.69.0.1:PORT
|
|
# NOTE: localhost:8080 will no longer work
|
|
networks:
|
|
default:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.16.69.0/16
|
|
|