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