Files
astro-website/docker-compose.yml
Santhosh Janardhanan 35afd9208f
Some checks failed
ci / site (push) Has been cancelled
publish-image / publish (push) Has been cancelled
Cron ready refresh script
2026-02-10 05:32:05 -05:00

31 lines
684 B
YAML

services:
web:
image: ${WEB_IMAGE:-fast-website:local}
build:
context: .
dockerfile: Dockerfile
args:
# Build-time toggle for service worker registration in the generated static HTML.
PUBLIC_ENABLE_SW: "true"
ports:
- "8080:80"
networks:
- fast-website-network
redis:
image: redis:7-alpine
ports:
# Use 6380 to avoid colliding with any locally installed Redis on 6379.
- "6380:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 20
networks:
- fast-website-network
networks:
fast-website-network:
driver: bridge