1
0
Fork 0

snibox: set secret_key_base

This commit is contained in:
Lukáš Kucharczyk 2023-01-11 11:25:57 +01:00
parent 454d427cc4
commit 6cdadc45d0
2 changed files with 5 additions and 1 deletions

1
snibox.env Normal file
View File

@ -0,0 +1 @@
SNIBOX_SECRET_KEY_BASE=sMHYqzrgJQgPynv6ZDG7M8ZpF

View File

@ -12,7 +12,10 @@ services:
backend:
image: snibox/snibox:latest
container_name: snibox
command: sh -c "rm -rf tmp/pids && ./bin/rails s -p 3000 -b '0.0.0.0'"
env_file:
- snibox.env
environment:
DB_NAME: "${SNIBOX_POSTGRES_DB_NAME}"
DB_USER: "${POSTGRES_USERNAME}"
@ -27,7 +30,7 @@ services:
MAILGUN_API_KEY: "${MAILGUN_API_KEY}"
MAILGUN_DOMAIN: "${MAILGUN_DOMAIN}"
MAILGUN_PUBLIC_KEY: "${MAILGUN_PUBLIC_KEY}"
SECRET_KEY_BASE: "${SECRET_KEY_BASE}"
SECRET_KEY_BASE: "${SNIBOX_SECRET_KEY_BASE}"
# ports:
# - "${SNIBOX_EXTERNAL_PORT}:${SNIBOX_INTERNAL_PORT}"
volumes: