From 3b077075d416d82e46bccfc56ee9df42772f5aa5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 Nov 2023 05:22:43 +0000 Subject: Update InstallationNotes --- InstallationNotes.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/InstallationNotes.md b/InstallationNotes.md index 1a23a68..cd15770 100644 --- a/InstallationNotes.md +++ b/InstallationNotes.md @@ -9,7 +9,7 @@ This setup uses PostgreSQL and runs tt-rss using several containers as outlined ## .env ```ini -# Copy this file to .env before building the container. Put any local modifications here. +# Put any local modifications here. # Run FPM under this UID/GID. # OWNER_UID=1000 @@ -66,6 +66,8 @@ services: db: image: postgres:15-alpine restart: unless-stopped + env_file: + - .env environment: - POSTGRES_USER=${TTRSS_DB_USER} - POSTGRES_PASSWORD=${TTRSS_DB_PASS} @@ -75,9 +77,6 @@ services: app: image: cthulhoo/ttrss-fpm-pgsql-static:latest - build: - dockerfile: .docker/app/Dockerfile - context: https://git.tt-rss.org/fox/tt-rss.git restart: unless-stopped env_file: - .env @@ -135,9 +134,22 @@ volumes: ## FAQ -### Your images won't run on RaspberryPi! +### Your images won't run on Raspberry Pi! + +Sorry, I only make and support AMD64 images, dealing with cross-platform buildx is just too much effort. You'll have to make your own images if you use ARM or 32bit platforms by using an override and running `docker-compose build`. + +```yaml +# docker-compose.override.yml + +services: + app: + image: cthulhoo/ttrss-fpm-pgsql-static:latest + build: + dockerfile: .docker/app/Dockerfile + context: https://git.tt-rss.org/fox/tt-rss.git +``` -Sorry, I only make AMD64 images, dealing with cross-platform buildx is just too much effort. You'll have to make your own images if you use ARM by saving above compose file and running `docker-compose build`. +Note that self-built images are not supported. ### I got the updated compose file above and now my database keeps restarting -- cgit v1.2.3