updated dockerfiles
this is a mess, i have to come up with something better
This commit is contained in:
parent
5636a27ff0
commit
19bc17b1dd
4 changed files with 44 additions and 1 deletions
39
docker/docker-compose.yml.example
Normal file
39
docker/docker-compose.yml.example
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
version: '3.5'
|
||||||
|
|
||||||
|
services:
|
||||||
|
cobalt-api:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./docker/dockerfile_api
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: cobalt-api
|
||||||
|
ports:
|
||||||
|
- 9000:9000/tcp
|
||||||
|
environment:
|
||||||
|
- apiPort=9000
|
||||||
|
- apiURL='https://co.wuk.sh/'
|
||||||
|
- cors=1
|
||||||
|
cobalt-web:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./docker/dockerfile_web
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: cobalt-web
|
||||||
|
ports:
|
||||||
|
- 9000:9000/tcp
|
||||||
|
environment:
|
||||||
|
- apiPort=9000
|
||||||
|
- apiURL='https://co.wuk.sh/'
|
||||||
|
- cors=1
|
||||||
|
cobalt-full:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./dockerfile
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: cobalt-full
|
||||||
|
ports:
|
||||||
|
- 9000:9000/tcp
|
||||||
|
environment:
|
||||||
|
- apiPort=9000
|
||||||
|
- apiURL='https://co.wuk.sh/'
|
||||||
|
- cors=1
|
|
@ -19,10 +19,14 @@ const exceptions = { // used for mobile devices
|
||||||
"vQuality": "720"
|
"vQuality": "720"
|
||||||
};
|
};
|
||||||
|
|
||||||
const apiURL = '';
|
let apiURL = '';
|
||||||
|
|
||||||
let store = {};
|
let store = {};
|
||||||
|
|
||||||
|
function changeAPI(url) {
|
||||||
|
apiURL = url;
|
||||||
|
return true
|
||||||
|
}
|
||||||
function eid(id) {
|
function eid(id) {
|
||||||
return document.getElementById(id)
|
return document.getElementById(id)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue