Files

18 lines
596 B
YAML

# self-coded alternative frontend to miraheze
services:
mirage:
image: ghcr.io/gigirassy/mirage:main
container_name: mirage
env_file: .env
ports:
- "127.0.0.1:35200:3000" # change first if already taken
environment:
- PYTHONUNBUFFERED=1
- MIRAGE_CACHE_MAX=41943040 # 40 MB
- MIRAGE_CACHE_TTL=604800 # 7 days
- MIRAGE_CACHE_KEY=${MIRAGE_CACHE_KEY}
- USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
volumes:
- ./cache:/app/cache:rw
restart: unless-stopped
mem_limit: 50m