32 lines
875 B
YAML
32 lines
875 B
YAML
services:
|
||
open-typer:
|
||
image: git.techniverse.net/scriptos/open-typer-wasm:latest
|
||
build:
|
||
context: .
|
||
dockerfile: Dockerfile
|
||
container_name: open-typer
|
||
networks:
|
||
opentyper_net:
|
||
ipv4_address: 172.23.42.10
|
||
restart: unless-stopped
|
||
ports:
|
||
- "${PORT:-8080}:80"
|
||
healthcheck:
|
||
test: ["CMD", "wget", "-qO-", "http://localhost/"]
|
||
interval: 30s
|
||
timeout: 5s
|
||
retries: 3
|
||
start_period: 10s
|
||
labels:
|
||
- "com.open-typer.description=Open-Typer WebAssembly – kostenloser Open-Source Tipp-Trainer"
|
||
- "com.open-typer.source=https://git.techniverse.net/scriptos/open-typer-docker"
|
||
|
||
networks:
|
||
opentyper_net:
|
||
name: opentyper.dockernetwork.local
|
||
driver: bridge
|
||
ipam:
|
||
config:
|
||
- subnet: 172.23.42.0/24
|
||
gateway: 172.23.42.1
|
||
ip_range: 172.23.42.128/25 |