mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-07-30 15:28:30 -04:00
- Introduced .dockerignore to exclude unnecessary files from Docker context. - Added .env.aio.example for minimal configuration of the AdventureLog All-in-One setup. - Updated .env.example to include optional SITE_URL and GUNICORN_WORKERS settings. - Enhanced deploy.sh script for improved deployment flexibility and backup options. - Updated docker-compose files to use PostGIS 16-3.5 and added health checks for services. - Created docker-compose.aio.yml for All-in-One deployment configuration. - Improved health checks and service dependencies in docker-compose.dev.yml and docker-compose.yml. - Added GitHub workflows for building and pushing Docker images, including smoke tests for AIO setup.
32 lines
678 B
HCL
32 lines
678 B
HCL
# Build all AdventureLog app images from the unified Dockerfile.
|
|
# Usage (from repository root):
|
|
# docker buildx bake -f docker/docker-bake.hcl
|
|
# docker buildx bake -f docker/docker-bake.hcl frontend
|
|
|
|
group "default" {
|
|
targets = ["frontend", "backend", "aio"]
|
|
}
|
|
|
|
target "_common" {
|
|
context = ".."
|
|
dockerfile = "docker/Dockerfile"
|
|
}
|
|
|
|
target "frontend" {
|
|
inherits = ["_common"]
|
|
target = "frontend"
|
|
tags = ["adventurelog-frontend:local"]
|
|
}
|
|
|
|
target "backend" {
|
|
inherits = ["_common"]
|
|
target = "backend"
|
|
tags = ["adventurelog-backend:local"]
|
|
}
|
|
|
|
target "aio" {
|
|
inherits = ["_common"]
|
|
target = "aio"
|
|
tags = ["adventurelog-aio:local"]
|
|
}
|