This commit is contained in:
parent
7e6ce0be75
commit
287cffb68e
2
.env.example
Normal file
2
.env.example
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
SECRET=your_actual_random_string_here
|
||||||
|
URLS=https://your.domain.com
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue