|
|
@ -9,6 +9,9 @@
|
|
|
|
- change the values in `.env` and `.env_db`
|
|
|
|
- change the values in `.env` and `.env_db`
|
|
|
|
you can use `mix phx.gen.secret` to generate secrets.
|
|
|
|
you can use `mix phx.gen.secret` to generate secrets.
|
|
|
|
update the PHX_HOST to your domain name.
|
|
|
|
update the PHX_HOST to your domain name.
|
|
|
|
|
|
|
|
- if you don't want to pull the pre-built container
|
|
|
|
|
|
|
|
- uncomment the part to build the image in the `docker-compose.yaml` file
|
|
|
|
|
|
|
|
- comment the image part to avoid pulling.
|
|
|
|
- run `docker compose up -d`
|
|
|
|
- run `docker compose up -d`
|
|
|
|
- run migrations `docker exec -it dbi bin/migrate`
|
|
|
|
- run migrations `docker exec -it dbi bin/migrate`
|
|
|
|
- open the url (`PHX_HOST`) in a browser.
|
|
|
|
- open the url (`PHX_HOST`) in a browser.
|
|
|
|