feat: switch to Dockerfile build to bake config into image
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
services:
|
||||
homepage:
|
||||
image: ghcr.io/gethomepage/homepage:latest
|
||||
# image: ghcr.io/gethomepage/homepage:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: homepage
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
- socket_proxy
|
||||
volumes:
|
||||
- ${CONFIG_PATH:-./config}:/app/config
|
||||
# Volumes are commented out to use the baked-in config from Git
|
||||
# volumes:
|
||||
# - ./config:/app/config
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
|
||||
Reference in New Issue
Block a user