mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-13 05:10:59 +00:00
Update production ENV
This commit is contained in:
parent
54dec5685f
commit
e48bc5bed1
2 changed files with 6 additions and 1 deletions
|
@ -14,6 +14,11 @@ PUMA_MAX_THREADS=32
|
||||||
PUMA_PORT=4000
|
PUMA_PORT=4000
|
||||||
PUMA_TIMEOUT=30
|
PUMA_TIMEOUT=30
|
||||||
|
|
||||||
|
PRODUCTION_ROOT_DOMAIN=ensl.org
|
||||||
|
PRODUCTION_DOMAIN=www.ensl.org
|
||||||
|
PRODUCTION_PORT=80
|
||||||
|
PRODUCTION_PORT_SSL=443
|
||||||
|
|
||||||
MYSQL_DATABASE=ensl
|
MYSQL_DATABASE=ensl
|
||||||
MYSQL_CONNECTION_POOL=48
|
MYSQL_CONNECTION_POOL=48
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ There are some unresolved issues to setup dev env.
|
||||||
|
|
||||||
## Tips
|
## 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.
|
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
|
sudo echo `docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ensl_dev_db` db >> /etc/hosts
|
||||||
|
|
Loading…
Reference in a new issue