Remove env_file from docker-compose; use Portainer environment variables directly

This commit is contained in:
Troll (Hermes Agent) 2026-07-31 20:50:14 +00:00
parent 3ef8aaf45a
commit 1ad02023c2
2 changed files with 19 additions and 9 deletions

View file

@ -34,14 +34,13 @@ The repo includes a `docker-compose.yml` that builds directly from GitLab, so Po
- URL: `https://gitlab.hallsworth.ca/yrtria/theme-song-booth.git`
- Branch: `main`
- Compose path: `docker-compose.yml`
4. Add environment variables in Portainer (or upload a `.env` file):
- `APP_SECRET_KEY`
- `ADMIN_PASSWORD`
- `SMTP_PASS`
- `PUBLIC_BASE_URL` (your HTTPS domain)
- `INTERNAL_PORT` (default `8000`) — port the container listens on
- `HOST_PORT` (default `127.0.0.1:8000`) — host-side mapping to avoid conflicts with other containers
- `BOOTH_NAME` (optional)
4. Add environment variables directly in Portainer under **Environment variables**:
- `APP_SECRET_KEY` — long random string
- `ADMIN_PASSWORD` — password for `/admin`
- `SMTP_PASS``b3ZzD@eM!MkqVS8P`
- `PUBLIC_BASE_URL` — your HTTPS domain
- `HOST_PORT` — default `127.0.0.1:8000`
- `BOOTH_NAME` — optional
5. Deploy the stack.
6. Open a console into the `booth` container and run once:
```bash