Files
infrastructure/hosts/ps10rp/homepage/docker-compose.yml
2024-05-31 16:56:08 -05:00

65 lines
1.7 KiB
YAML

services:
homepage:
container_name: homepage
dns:
- 172.19.0.3
- 1.1.1.1
image: ghcr.io/gethomepage/homepage:latest
labels:
traefik.docker.network: traefik
traefik.enable: true
traefik.http.routers.homepage.entrypoints: websecure
traefik.http.routers.homepage.rule: Host(`www.lebens-home.net`)
traefik.http.routers.homepage.service: homepage
traefik.http.services.homepage.loadbalancer.server.port: 3000
networks:
traefik: null
restart: always
volumes:
- config:/app/config
- images:/app/public/images
- icons:/app/public/icons
dockerproxy:
container_name: homepage-dockerproxy
dns:
- 172.19.0.3
- 1.1.1.1
environment:
- CONTAINERS=1
- POST=0
image: ghcr.io/tecnativa/docker-socket-proxy:latest
networks:
traefik: null
privileged: true
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
traefik:
name: traefik
external: true
volumes:
config:
driver: local
driver_opts:
type: none
o: bind
device: /mnt/data/containers/homepage/config
images:
driver: local
driver_opts:
type: none
o: bind
device: /mnt/data/containers/homepage/images
icons:
driver: local
driver_opts:
type: none
o: bind
device: /mnt/data/containers/homepage/icons