Upload files to "/"
This commit is contained in:
27
docker-compose.yml
Normal file
27
docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
grav-cms:
|
||||
image: getgrav/grav:latest
|
||||
container_name: mediaguide-cms
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
# Persistent storage for all Grav user content
|
||||
- grav_user:/var/www/html/user
|
||||
# Custom blueprints (mounted from host)
|
||||
- ./blueprints:/var/www/html/user/blueprints
|
||||
# Custom plugins config
|
||||
- ./config:/var/www/html/user/config
|
||||
environment:
|
||||
- GRAV_MULTISITE=false
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
grav_user:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user