diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..e42f88e --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +SECRET=your_actual_random_string_here +URLS=https://your.domain.com \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 2fd5b77..3186b95 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,12 +1,24 @@ services: yamtrack: - image: gotson/yamtrack:latest + image: ghcr.io/fuzzygrim/yamtrack:latest container_name: yamtrack restart: always + depends_on: + - redis environment: - TZ=Europe/Copenhagen + - SECRET=${SECRET} + - URLS=${URLS} + - REDIS_URL=redis://redis:6379/0 volumes: - - ./config:/config + - ./data:/app/data + networks: + - web_traffic + + redis: + image: redis:alpine + container_name: yamtrack-redis + restart: always networks: - web_traffic