mirror of
https://codeberg.org/gigirassy/nixos-server-config
synced 2026-08-30 15:27:40 +00:00
Add compose-configs/Mirage/compose.yml
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
# 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
|
||||||
Reference in New Issue
Block a user