feat: add docker compose
This commit is contained in:
parent
97568607ca
commit
2288005b6f
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
services:
|
||||||
|
storandom:
|
||||||
|
image: docker.io/moanos/storandom
|
||||||
|
container_name: "storandom"
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
# Note: those envs are customizable but also optional
|
||||||
|
- SERVER_PORT=8000
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.docker.network=traefik"
|
||||||
|
- "traefik.http.routers.storandom.rule=Host(`storandom.hyteck.de`)"
|
||||||
|
- "traefik.http.routers.storandom.service=storandom-service"
|
||||||
|
- "traefik.http.routers.storandom.entrypoints=web-secure"
|
||||||
|
- "traefik.http.routers.storandom.tls=true"
|
||||||
|
- "traefik.http.routers.storandom.tls.certResolver=default"
|
||||||
|
- "traefik.http.services.storandom-service.loadbalancer.server.port=8000"
|
||||||
|
networks:
|
||||||
|
- traefik
|
||||||
|
networks:
|
||||||
|
traefik:
|
||||||
|
name: "traefik"
|
||||||
|
external: true
|
Loading…
x
Reference in New Issue
Block a user