Compose-Examples/examples/homepage/docker-compose.yml

30 lines
966 B
YAML
Raw Normal View History

2023-02-15 21:45:31 +00:00
services:
2023-02-15 21:45:31 +00:00
homepage:
image: ghcr.io/gethomepage/homepage:latest
2023-02-15 21:45:31 +00:00
container_name: homepage
restart: unless-stopped
ports:
- 3000:3000
expose:
- 3000
2023-02-15 21:45:31 +00:00
environment:
- PUID=1000
- PGID=1000
volumes:
#- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homepage/config:/app/config # Make sure your local config directory exists
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/homepage/icons:/app/public/icons
#networks:
# - proxy
2023-02-15 21:45:31 +00:00
#labels:
# - traefik.enable=true
# - traefik.http.routers.homepage.rule=Host(`home.example.com`)
# - traefik.http.services.homepage.loadbalancer.server.port=3000
# - traefik.docker.network=proxy
# # Part for local lan services only
# - traefik.http.routers.homepage.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true