V2 docker (#312)

* Create docker-ci.yml

* docker build

* add build app

* path changes

* delete double workflow

* update docker run template

* cleanup

* resolve wierd path issue

* wrong path

* again wrong path

* rename docker releases

* move styles population and change to function call

* re-add old build pipeline

* rename buld file

* feractor init function

* refactor: startDb to initAssets

* refactor: startDB to initAssets

* fix: docker.cjs building whole app

* fix: docker environment

* update docker paths

* update: build command

* cleanup

* cleanup: commented code

---------

Co-authored-by: Fabian Posenau <fabian@fphome.de>
This commit is contained in:
Fabian Posenau
2023-03-28 20:12:44 +02:00
committed by GitHub
parent bca7ad30b1
commit 03d5389540
13 changed files with 230 additions and 103 deletions
+5 -4
View File
@@ -3,13 +3,14 @@ version: "3"
services:
ontime:
container_name: ontime
image: getontime/ontime:latest
image: getontime/ontime:beta_v2
ports:
- "4001:4001/tcp"
- "127.0.0.1:8888:8888/udp"
- "8888:8888/udp"
- "9999:9999/udp"
volumes:
- "./ontime-db:/server/preloaded-db"
- "./ontime-external:/server/external"
- "./ontime-db:/external/db/"
- "./ontime-styles:/external/styles/"
environment:
- TZ=Asia/Singapore
restart: unless-stopped