Archive homepage
This commit is contained in:
@@ -1,35 +1,37 @@
|
|||||||
services:
|
services:
|
||||||
dockerproxy:
|
homepage_socket_proxy:
|
||||||
image: ghcr.io/tecnativa/docker-socket-proxy:0.3.0
|
container_name: homepage_socket_proxy
|
||||||
container_name: dockerproxy
|
image: ghcr.io/11notes/socket-proxy:2.1.3
|
||||||
|
restart: unless-stopped
|
||||||
|
read_only: true
|
||||||
|
user: ${SOCKET_UID}:${SOCKET_GID}
|
||||||
environment:
|
environment:
|
||||||
- CONTAINERS=${CONTAINERS} # Allow access to viewing containers
|
TZ: ${TZ}
|
||||||
- SERVICES=${SERVICES} # Allow access to viewing services (necessary when using Docker Swarm)
|
|
||||||
- TASKS=${TASKS} # Allow access to viewing tasks (necessary when using Docker Swarm)
|
|
||||||
- POST=${POST} # Disallow any POST operations (effectively read-only)
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- ${APPDATA_PATH}/homepage/socket-proxy:/run/proxy
|
||||||
ports:
|
- /run/docker.sock:/run/docker.sock:ro
|
||||||
- ${PROXY_PORT}:2375
|
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
homepage:
|
homepage:
|
||||||
image: ghcr.io/gethomepage/homepage:v1.3.2
|
|
||||||
container_name: homepage
|
container_name: homepage
|
||||||
|
image: ghcr.io/gethomepage/homepage:v1.3.2
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
homepage_socket_proxy:
|
||||||
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID}
|
- PUID=${PUID}
|
||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
- HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_ALLOWED_HOSTS}
|
- HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_ALLOWED_HOSTS}
|
||||||
volumes:
|
volumes:
|
||||||
- ${APPDATA_PATH}/homepage/config:/app/config
|
- ${APPDATA_PATH}/homepage/config:/app/config
|
||||||
|
- ${APPDATA_PATH}/homepage/socket-proxy:/var/run
|
||||||
ports:
|
ports:
|
||||||
- ${APP_PORT}:3000
|
- ${APP_PORT}:3000
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
- backend
|
- backend
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
frontend:
|
frontend:
|
||||||
|
|||||||
Reference in New Issue
Block a user