mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Merge pull request #3529 from okriuchykhin/config_updates
Update default config and compose production file
This commit is contained in:
commit
bc481dc151
2 changed files with 2 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -6,10 +6,10 @@ define PRODUCTION_CONFIG_BODY
|
|||
SECRET_KEY_BASE=$(shell openssl rand -hex 64)
|
||||
PAPERCLIP_HASH_SECRET=$(shell openssl rand -base64 128 | tr -d '\n')
|
||||
DATABASE_URL=postgresql://postgres:mysecretpassword@db/scinote_production
|
||||
PAPERCLIP_STORAGE=filesystem
|
||||
ACTIVESTORAGE_SERVICE=local
|
||||
ENABLE_RECAPTCHA=false
|
||||
ENABLE_USER_CONFIRMATION=false
|
||||
ENABLE_USER_REGISTRATION=true
|
||||
ENABLE_USER_REGISTRATION=false
|
||||
DEFACE_ENABLED=false
|
||||
endef
|
||||
export PRODUCTION_CONFIG_BODY
|
||||
|
|
|
@ -5,8 +5,6 @@ services:
|
|||
image: postgres:11
|
||||
volumes:
|
||||
- scinote_production_postgres:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
- "POSTGRES_USER=postgres"
|
||||
- "POSTGRES_PASSWORD=mysecretpassword"
|
||||
|
|
Loading…
Reference in a new issue