add PROXY_LOCATION

master
Aevann 2024-03-05 04:30:58 +02:00
parent a32805123e
commit 0d5bbe0c26
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ export SECRET_KEY='blahblahblah'
export DATABASE_URL='postgresql://postgres@postgres:5432'
export REDIS_URL='redis://redis:6379'
export PROXY_URL='http://localhost:18080'
export PROXY_LOCATION='AM'
export LOG_DIRECTORY='/var/log/rdrama'
export SETTINGS_FILENAME='/site_settings.json'
export GIPHY_KEY='blahblahblah'

View File

@ -7,7 +7,7 @@ Restart = on-failure
RestartSec = 30s
User = rdrama
Group = rdrama
ExecStart = /snap/bin/opera-proxy -country AM
ExecStart = /snap/bin/opera-proxy -country ${PROXY_LOCATION}
[Install]
WantedBy = multi-user.target