mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Docker examples use the published Docker Hub image
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a6e5c4343f
commit
2fe2f464c1
3 files changed
+5
-4
No files matched your search
@@ -46,7 +46,7 @@ Data lives in the `sam_storage` volume. Set `FORCE_SSL=false` if you serve plain
|
|||||||
|
|
||||||
Other examples in the repository:
|
Other examples in the repository:
|
||||||
|
|
||||||
- [`docker-compose.image.yml`](docker-compose.image.yml): runs a published image (set the image name to yours) without cloning the source, with a health check and update steps.
|
- [`docker-compose.image.yml`](docker-compose.image.yml): runs the published image (`barrettefab/simple-aircraft-manager-rails` on Docker Hub) without cloning the source, with a health check and update steps.
|
||||||
- [`docker-compose.traefik.yml`](docker-compose.traefik.yml): behind Traefik with HTTPS, with optional Authentik forward auth (see [Running behind Authentik](docs/authentik.md)).
|
- [`docker-compose.traefik.yml`](docker-compose.traefik.yml): behind Traefik with HTTPS, with optional Authentik forward auth (see [Running behind Authentik](docs/authentik.md)).
|
||||||
|
|
||||||
[`.env.example`](.env.example) lists every setting, grouped and commented. After starting or updating, `docker compose exec web bin/rails sam:doctor` checks the installation.
|
[`.env.example`](.env.example) lists every setting, grouped and commented. After starting or updating, `docker compose exec web bin/rails sam:doctor` checks the installation.
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
# Run a published image, without cloning the source.
|
# Run a published image, without cloning the source.
|
||||||
#
|
#
|
||||||
# 1. Put this file and a .env (copied from .env.example) in a folder.
|
# 1. Put this file and a .env (copied from .env.example) in a folder.
|
||||||
# 2. Set the image below to the one you use. To publish your own:
|
# 2. The image below is the project's published one (tags: latest, or a
|
||||||
|
# commit such as :1412470). To build and publish your own instead:
|
||||||
# docker build -t your-registry/simple-aircraft-manager-rails:latest \
|
# docker build -t your-registry/simple-aircraft-manager-rails:latest \
|
||||||
# --build-arg APP_REVISION=$(git rev-parse --short HEAD) --build-arg APP_BUILT_AT=$(date -u +%FT%TZ) .
|
# --build-arg APP_REVISION=$(git rev-parse --short HEAD) --build-arg APP_BUILT_AT=$(date -u +%FT%TZ) .
|
||||||
# docker push your-registry/simple-aircraft-manager-rails:latest
|
# docker push your-registry/simple-aircraft-manager-rails:latest
|
||||||
@@ -12,7 +13,7 @@
|
|||||||
# (database changes are applied when the container starts). Then: docker compose exec web bin/rails sam:doctor
|
# (database changes are applied when the container starts). Then: docker compose exec web bin/rails sam:doctor
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: your-registry/simple-aircraft-manager-rails:latest
|
image: barrettefab/simple-aircraft-manager-rails:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "3000:80"
|
- "3000:80"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
# to rely on the app's own sign-in (and optionally its single sign-on).
|
# to rely on the app's own sign-in (and optionally its single sign-on).
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: your-registry/simple-aircraft-manager-rails:latest # or: build: .
|
image: barrettefab/simple-aircraft-manager-rails:latest # or your own image, or: build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in new issue
Block a user