Feature/docker (#31)

* Add Docker capabilities

Changed launchSettings
Added Dockerfile && docker-compose with traefik labels

* Relocate launchSettings.json

* Delete workflows

Not needed anymore

* Add Docker for WebApi
Added docker-compose && Dockerfile

* Fix minor mistakes

---------

Co-authored-by: ProfessionalUwU <andre.fuhry@hopeless-cloud.xyz>
This commit is contained in:
FUH22860
2023-06-22 22:46:35 +02:00
committed by GitHub
parent cc4ffab409
commit 4b5f0c2b96
7 changed files with 59 additions and 31 deletions

22
docker-compose.yml Normal file
View File

@ -0,0 +1,22 @@
version: "3.4"
services:
y4f:
build: .
ports:
- "5248:5248"
labels:
- traefik.docker.network=traefik
- traefik.enable=true
- traefik.http.routers.y4f.entrypoints=web-secure
- traefik.http.routers.y4f.rule=Host(`y4f.hopeless-cloud.xyz`)
- traefik.http.routers.y4f.tls=true
- traefik.http.routers.y4f.tls.certResolver=default
networks:
- default
- traefik
restart: unless-stopped
networks:
default:
name: y4f-default
traefik:
external: true