Skip to content

Commit

Permalink
docker: fix docker scripts/envars
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakabuff committed Sep 2, 2023
1 parent 2c10460 commit 02e3ebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ services:
PGFTS_PORT: 5432
ADMIN_PASSWORD: "qwerty"
INGEST_ENABLED: false
INDEX_ENABLED: false
INGEST_PASSWORD: "asdf"
REDIS_HOST: "redarc_ingest"
volumes:
Expand All @@ -81,6 +80,7 @@ services:
- redarc
environment:
INGEST_ENABLED: true
INDEX_ENABLED: true
PG_DATABASE: postgres
PG_USER: postgres
PG_PASSWORD: test1234
Expand All @@ -98,7 +98,6 @@ services:
USER_AGENT: "my user agent"
REDDIT_USERNAME: "change me"
INDEX_DELAY: 300
INGEST_PASSWORD: asdf
volumes:
- redarc_ingest_logs:/ingest/logs
depends_on:
Expand Down
3 changes: 1 addition & 2 deletions ingest/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ CLIENT_SECRET=$CLIENT_SECRET
PASSWORD=$PASSWORD
USER_AGENT=$USER_AGENT
REDDIT_USERNAME=$REDDIT_USERNAME
INDEX_DELAY=$INDEX_DELAY
INGEST_PASSWORD=$INGEST_PASSWORD" > .env
INDEX_DELAY=$INDEX_DELAY" > .env

cd /ingest

Expand Down

0 comments on commit 02e3ebd

Please sign in to comment.