Added env
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
GeorgeWebberley 2026-01-27 16:13:22 +01:00
parent 7e6ce0be75
commit 287cffb68e
2 changed files with 16 additions and 2 deletions

2
.env.example Normal file
View file

@ -0,0 +1,2 @@
SECRET=your_actual_random_string_here
URLS=https://your.domain.com

View file

@ -1,12 +1,24 @@
services: services:
yamtrack: yamtrack:
image: gotson/yamtrack:latest image: ghcr.io/fuzzygrim/yamtrack:latest
container_name: yamtrack container_name: yamtrack
restart: always restart: always
depends_on:
- redis
environment: environment:
- TZ=Europe/Copenhagen - TZ=Europe/Copenhagen
- SECRET=${SECRET}
- URLS=${URLS}
- REDIS_URL=redis://redis:6379/0
volumes: volumes:
- ./config:/config - ./data:/app/data
networks:
- web_traffic
redis:
image: redis:alpine
container_name: yamtrack-redis
restart: always
networks: networks:
- web_traffic - web_traffic