Update production ENV

This commit is contained in:
Ari Timonen 2020-05-02 16:04:21 +03:00
parent 54dec5685f
commit e48bc5bed1
2 changed files with 6 additions and 1 deletions

View file

@ -14,6 +14,11 @@ PUMA_MAX_THREADS=32
PUMA_PORT=4000
PUMA_TIMEOUT=30
PRODUCTION_ROOT_DOMAIN=ensl.org
PRODUCTION_DOMAIN=www.ensl.org
PRODUCTION_PORT=80
PRODUCTION_PORT_SSL=443
MYSQL_DATABASE=ensl
MYSQL_CONNECTION_POOL=48

View file

@ -50,7 +50,7 @@ There are some unresolved issues to setup dev env.
## Tips
1. If you need to run stuff on your host (eg. ruby, rubocop, bundle install etc) run all commands from the: `Dockerfile.dev`. It should setup identical setup for your machine.
1. If you need to run stuff on your host (eg. ruby, rubocop, bundle install etc) run all commands from the: `Dockerfile`. It should setup identical setup for your machine.
1. Add docker container names to /etc/hosts. This makes it possible to run test from local machine without using the container since editor/IDE don't integrate with Docker so well.
sudo echo `docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ensl_dev_db` db >> /etc/hosts