From 7a6265caae2bba32918af15b24cbf9e6fdcf13b6 Mon Sep 17 00:00:00 2001 From: Daniel Cadenas Date: Wed, 16 Oct 2024 12:27:43 -0300 Subject: [PATCH] Use config when possible --- roles/followers_server/templates/docker-compose.yml.tpl | 2 -- roles/followers_server/templates/settings.production.yml.tpl | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/followers_server/templates/docker-compose.yml.tpl b/roles/followers_server/templates/docker-compose.yml.tpl index 5484a6d..0a116b2 100644 --- a/roles/followers_server/templates/docker-compose.yml.tpl +++ b/roles/followers_server/templates/docker-compose.yml.tpl @@ -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 diff --git a/roles/followers_server/templates/settings.production.yml.tpl b/roles/followers_server/templates/settings.production.yml.tpl index 6c73999..d71af02 100644 --- a/roles/followers_server/templates/settings.production.yml.tpl +++ b/roles/followers_server/templates/settings.production.yml.tpl @@ -1,2 +1,4 @@ followers: - relay: wss://relay.nos.social \ No newline at end of file + relay: wss://relay.nos.social + neo4j_password: {{ neo4j_password }} + redis_url: {{ redis_url }} \ No newline at end of file