Files
open-typer-docker/docker-compose.yml

32 lines
875 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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