new inner layout

- one main controlling script (cobalt.js).
- added api server name to serverInfo endpoint.
- one dockerfile.
- less mess.
This commit is contained in:
wukko
2023-05-22 01:13:05 +06:00
parent 19bc17b1dd
commit 9edc4bd61b
14 changed files with 304 additions and 358 deletions

View File

@@ -0,0 +1,36 @@
version: '3.5'
services:
cobalt-api:
build: .
restart: unless-stopped
container_name: cobalt-api
ports:
- 9000:9000/tcp
environment:
- apiPort=9000
- apiURL=https://co.wuk.sh/
- apiName=eu-nl
- cors=1
cobalt-web:
build: .
restart: unless-stopped
container_name: cobalt-web
ports:
- 9000:9000/tcp
environment:
- webPort=9000
- webURL=https://co.wukko.me/
- apiPort=9000
- apiURL=https://co.wuk.sh/
- cors=1
cobalt-both:
build: .
restart: unless-stopped
container_name: cobalt-both
ports:
- 9000:9000/tcp
environment:
- port=9000
- selfURL=https://co.wukko.me/
- cors=1