mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-23 00:16:21 +08:00
Merge pull request #3265 from sevenpastnine/develop
Add missing PostgreSQL variables to the docker-compose.production.yml
This commit is contained in:
commit
b00f3972fc
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ PAPERCLIP_HASH_SECRET=$(shell openssl rand -base64 128 | tr -d '\n')
|
|||
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@db/scinote_production
|
||||
DATABASE_URL=postgresql://postgres:mysecretpassword@db/scinote_production
|
||||
PAPERCLIP_STORAGE=filesystem
|
||||
ENABLE_RECAPTCHA=false
|
||||
ENABLE_USER_CONFIRMATION=false
|
||||
|
|
|
@ -5,6 +5,11 @@ services:
|
|||
image: postgres:11
|
||||
volumes:
|
||||
- scinote_production_postgres:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
- "POSTGRES_USER=postgres"
|
||||
- "POSTGRES_PASSWORD=mysecretpassword"
|
||||
|
||||
web:
|
||||
build:
|
||||
|
|
Loading…
Reference in a new issue