Skip to content

Commit

Permalink
Merge pull request #133 from planetary-social/move_to_config
Browse files Browse the repository at this point in the history
Use config when possible
  • Loading branch information
dcadenas authored Oct 16, 2024
2 parents a8c75a4 + 7a6265c commit 6c5667e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions roles/followers_server/templates/docker-compose.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ services:
ports:
- "127.0.0.1:3001:3001" # 127.0.0.1 ensures it's only open locally, not exposed to the network
environment:
- APP__followers__neo4j_password={{ neo4j_password }}
- APP__ENVIRONMENT=production
- GOOGLE_APPLICATION_CREDENTIALS=/certs/{{ google_application_credentials }}
- RUST_LOG=nos_followers=info
- RUST_BACKTRACE=1
- REDIS_URL={{ redis_url }}
volumes:
- cargo-registry:/usr/local/cargo/registry
- cargo-git:/usr/local/cargo/git/db
Expand Down
4 changes: 3 additions & 1 deletion roles/followers_server/templates/settings.production.yml.tpl
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
followers:
relay: wss://relay.nos.social
relay: wss://relay.nos.social
neo4j_password: {{ neo4j_password }}
redis_url: {{ redis_url }}

0 comments on commit 6c5667e

Please sign in to comment.