++ primo caricamento
This commit is contained in:
32
docker-compose.yml
Normal file
32
docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
services:
|
||||
garage:
|
||||
image: dxflrs/garage:${GARAGE_CORE_IMAGE_VERSION}
|
||||
container_name: ${GARAGE_CONTAINER_NAME}
|
||||
restart: ${RESTART}
|
||||
volumes:
|
||||
# Garage configuration and metadata
|
||||
- ./${GARAGE_CONFIG_PATH}/garage.toml:/etc/garage.toml
|
||||
- ./${GARAGE_CONFIG_PATH}/meta:/var/lib/garage/meta
|
||||
# Map the data directory to a local path for persistence
|
||||
- ./${GARAGE_DATA_PATH}:/var/lib/garage/data
|
||||
ports:
|
||||
- "3900:3900"
|
||||
- "3901:3901"
|
||||
- "3902:3902"
|
||||
- "3903:3903"
|
||||
|
||||
webui:
|
||||
image: khairul169/garage-webui:${GARAGE_WEB_IMAGE_VERSION}
|
||||
container_name: ${GARAGE_CONTAINER_NAME}-webui
|
||||
restart: ${RESTART}
|
||||
depends_on:
|
||||
- ${GARAGE_CONTAINER_NAME}
|
||||
volumes:
|
||||
# Mount the same configuration file for the web UI to read settings
|
||||
- ./${GARAGE_CONFIG_PATH}/garage.toml:/etc/garage.toml:ro
|
||||
ports:
|
||||
- "${GARAGE_WEB_UI_PORT}:3909"
|
||||
environment:
|
||||
API_BASE_URL: "http://${GARAGE_CONTAINER_NAME}:3903"
|
||||
API_ADMIN_KEY: "${GARAGE_ADMIN_TOKEN}"
|
||||
S3_ENDPOINT_URL: "http://${GARAGE_CONTAINER_NAME}:3900"
|
||||
Reference in New Issue
Block a user