From aa6f5712157ba26db934c41ef6f5e1e799cbee37 Mon Sep 17 00:00:00 2001 From: primal Date: Mon, 26 Jan 2026 19:38:36 -0500 Subject: [PATCH] Add PDS credentials env file for service auth --- .gitignore | 1 + docker-compose.yml | 2 ++ pds.env.example | 4 ++++ 3 files changed, 7 insertions(+) create mode 100644 pds.env.example diff --git a/.gitignore b/.gitignore index ef46060..dfbbbf0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ go.* feeds/ feeds.db/ 1440.db +pds.env diff --git a/docker-compose.yml b/docker-compose.yml index 544a705..7f53c81 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,8 @@ services: build: . container_name: app-1440-news restart: unless-stopped + env_file: + - pds.env volumes: - ./feeds:/app/feeds - ./vertices.txt.gz:/app/vertices.txt.gz:ro diff --git a/pds.env.example b/pds.env.example new file mode 100644 index 0000000..e34a0d9 --- /dev/null +++ b/pds.env.example @@ -0,0 +1,4 @@ +# PDS credentials for posting +# Copy to pds.env and fill in values +PDS_HOST=https://1440.news +PDS_ADMIN_PASSWORD=your_admin_password