nano docker-compose.yml
services:
# Production service
basic-larp-web:
container_name: basic-larp-web
image: notoshi/larp-basic:0.1
ports:
- "8080:80"
restart: unless-stopped
healthcheck:
test: [ "CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/" ]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s
# Development service (uncomment to use)
# web-dev:
# image: node:20-alpine
# container_name: basic-larp-web-dev
# working_dir: /app
# volumes:
# - .:/app
# - /app/node_modules
# ports:
# - "5173:5173"
# command: sh -c "npm install && npm run dev"
# restart: unless-stopped
run container
docker compose up -d
Content type
Image
Digest
sha256:7f1d5ce55…
Size
21.6 MB
Last updated
10 months ago
docker pull notoshi/larp-basic:0.1