diff --git a/Makefile b/Makefile index cdc755f28..ada03c937 100644 --- a/Makefile +++ b/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 diff --git a/docker-compose.production.yml b/docker-compose.production.yml index 1e98686d8..0b935c88a 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -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"