mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 15:50:36 -05:00
Compose files and .env.example catch up
- The compose files' steps say where the first-run setup code is (it's asked for since 2026.11.5), that new accounts come from the admin, and who adds aircraft; the published image's release tags are mentioned. - docker-compose.yml passes APP_REVISION/APP_BUILT_AT to the build when set, so a locally built image shows its build on Admin → About. - .env.example lists the optional push notification keys, APP_LOCALE and APP_IMAGE, which the README documented but it didn't. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9adbc3d0a8
commit
3ad6b9493a
4 files changed
+25
-6
No files matched your search
+11
-3
@@ -3,11 +3,19 @@
|
||||
# docker-compose.image.yml; behind Traefik (and Authentik), docker-compose.traefik.yml.
|
||||
#
|
||||
# cp .env.example .env # set SECRET_KEY_BASE (bin/rails secret), APP_HOST, FORCE_SSL
|
||||
# docker compose up -d --build
|
||||
# open http://localhost:3000 → create the admin account
|
||||
# APP_REVISION=$(git rev-parse --short HEAD) docker compose up -d --build # the build shows on Admin → About
|
||||
# open http://localhost:3000 → create the admin account, with the setup code from:
|
||||
# docker compose logs web | grep "Setup code"
|
||||
#
|
||||
# New accounts after that come from the admin (Admin → Users or Invitations).
|
||||
# Only admins add aircraft unless Admin → Settings allows everyone.
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
APP_REVISION: ${APP_REVISION:-}
|
||||
APP_BUILT_AT: ${APP_BUILT_AT:-}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:80"
|
||||
|
||||
Reference in new issue
Block a user