mirror of
https://github.com/RGJorge/ContainerFlow.git
synced 2026-08-03 07:21:42 +02:00
Adds a GitHub Actions workflow that builds and pushes the Docker image to ghcr.io/rgjorge/containerflow on every tag push, so end users can run ContainerFlow without cloning the repo or building locally. - New workflow: .github/workflows/docker-release.yml - docker-compose.yml: uses the prebuilt image from GHCR by default - New docker-compose.local.yml: override for building from source (devs) - .env.example: simplified + adds COMPOSE_FILE toggle for local build - README EN + ES: quick-start updated to no-clone flow - .gitignore: ignore task/ planning notes dir
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
services:
|
|
containerflow:
|
|
# Pulls the latest prebuilt image from GHCR.
|
|
# To build from source locally instead, see docker-compose.local.yml + COMPOSE_FILE in .env.
|
|
image: ghcr.io/rgjorge/containerflow:latest
|
|
ports:
|
|
- "${EXTERNAL_PORT:-9470}:9470"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- containerflow-data:/app/data
|
|
# Common project locations — read-only. Required for `rebuild` to read
|
|
# docker-compose.yml + .env files. Builds run in the Docker daemon
|
|
# (host fs), so :ro here is safe and sufficient.
|
|
- /home:/home:ro
|
|
- /opt:/opt:ro
|
|
- /srv:/srv:ro
|
|
- /root:/root:ro
|
|
# Override for non-standard project paths. Set in .env, e.g.:
|
|
# HOST_PROJECTS_DIR=/data/apps
|
|
- ${HOST_PROJECTS_DIR:-/var/empty}:${HOST_PROJECTS_DIR:-/var/empty}:ro
|
|
environment:
|
|
- DATA_DIR=/app/data
|
|
env_file: .env
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "0.15"
|
|
memory: 256M
|
|
|
|
volumes:
|
|
containerflow-data:
|