feat: add production deployment for rf4spotter.ru
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# DNS: A/AAAA records for both names must point to the deployment server.
|
||||
SITE_DOMAIN=rf4spotter.ru
|
||||
FILES_DOMAIN=files.rf4spotter.ru
|
||||
ACME_EMAIL=admin@rf4spotter.ru
|
||||
|
||||
POSTGRES_DB=rf4_spotter
|
||||
POSTGRES_USER=rf4
|
||||
POSTGRES_PASSWORD=replace-with-long-random-value
|
||||
# URL-encode special characters from POSTGRES_PASSWORD in this URL.
|
||||
DATABASE_URL=postgresql+psycopg://rf4:replace-with-url-encoded-password@db:5432/rf4_spotter
|
||||
|
||||
ADMIN_TOKEN=replace-with-at-least-32-random-characters
|
||||
RATE_LIMIT_SECRET=replace-with-at-least-32-random-characters
|
||||
ADMIN_BASIC_USER=rf4admin
|
||||
# Generate with: docker run --rm caddy:2.10.2-alpine caddy hash-password --plaintext 'YOUR PASSWORD'
|
||||
ADMIN_BASIC_PASSWORD_HASH=replace-with-caddy-password-hash
|
||||
|
||||
S3_ACCESS_KEY=replace-with-random-access-key
|
||||
S3_SECRET_KEY=replace-with-at-least-32-random-characters
|
||||
S3_BUCKET=catch-screenshots
|
||||
|
||||
OFFICIAL_RECORDS_URL=https://rf4game.de/records/region/RU/
|
||||
OFFICIAL_RECORDS_REGION=RU
|
||||
OFFICIAL_RECORDS_CATEGORY=records
|
||||
OFFICIAL_IMPORT_REQUIRED=false
|
||||
IMPORT_INTERVAL_SECONDS=3600
|
||||
LOG_LEVEL=INFO
|
||||
Reference in New Issue
Block a user