TEST: Complex docker-compose rework. Not tested yet
This commit is contained in:
2
heimdall/.env.example
Normal file
2
heimdall/.env.example
Normal file
@@ -0,0 +1,2 @@
|
||||
# Path to the Heimdall config folder
|
||||
PATH_TO_CONFIG=/home/mbuz/docker/heimdall/config
|
||||
@@ -1,5 +1,3 @@
|
||||
version: "2.1"
|
||||
|
||||
services:
|
||||
heimdall:
|
||||
image: lscr.io/linuxserver/heimdall:latest
|
||||
@@ -9,8 +7,19 @@ services:
|
||||
- PGID=1000
|
||||
- TZ=Europe/Warsaw
|
||||
volumes:
|
||||
- /home/mbuz/docker/heimdall/config:/config
|
||||
- ${PATH_TO_CONFIG}:/config
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: unless-stopped
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
networks:
|
||||
- heimdall-net
|
||||
|
||||
networks:
|
||||
heimdall-net:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user