Files
Yamtrack/docker-compose.yml
stignarnia d139a37122 Add CSRF environment variable for use behind reverse proxies (#250)
* Update settings.py to support setting CSRF trusted origins via environment variable

* Add localhost as allowed host by default as it's always needed

* Add localhost as allowed host by default as it's always needed

* Update README.md to reflect the addition of the CSRF environment variable

* Append localhost if it's not in allowed hosts

* Localhost is now automatically added

* Localhost is now automatically added

* Localhost is now automatically added
2024-11-03 17:27:33 +01:00

25 lines
458 B
YAML

services:
yamtrack:
container_name: yamtrack
image: ghcr.io/fuzzygrim/yamtrack
restart: unless-stopped
depends_on:
- redis
environment:
- SECRET=longstring
- REDIS_URL=redis://redis:6379
volumes:
- ./db:/yamtrack/db
ports:
- "8000:8000"
redis:
container_name: yamtrack-redis
image: redis:7-alpine
restart: unless-stopped
volumes:
- redis_data:/data
volumes:
redis_data: