update
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
HOMARR_PORT=7575
|
||||
PUID=1000
|
||||
PGID=1000
|
||||
# TZ for container timezone
|
||||
TZ=America/New_York
|
||||
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
# Homarr - Application Dashboard
|
||||
homarr:
|
||||
image: ghcr.io/ajnart/homarr:latest
|
||||
container_name: homarr
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- default
|
||||
- socket_proxy
|
||||
ports:
|
||||
- "$HOMARR_PORT:7575"
|
||||
volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
|
||||
- ./appdata/homarr/configs:/app/data/configs
|
||||
- ./appdata/homarr/icons:/app/public/icons
|
||||
- ./appdata/homarr/data:/data
|
||||
environment:
|
||||
- DOCKER_HOST
|
||||
PUID: ${PUID} # Reference PUID from .env
|
||||
PGID: ${PGID} # # DOCKER-LABELS-PLACEHOLDER
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:7575"]
|
||||
interval: 10s
|
||||
retries: 3
|
||||
timeout: 10s
|
||||
start_period: 30s
|
||||
Reference in New Issue
Block a user