Compare commits

...

2 Commits

@ -9,6 +9,9 @@
- change the values in `.env` and `.env_db`
you can use `mix phx.gen.secret` to generate secrets.
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 migrations `docker exec -it dbi bin/migrate`
- open the url (`PHX_HOST`) in a browser.

@ -17,8 +17,10 @@ services:
web:
# to build the image
build:
context: .
#build:
# context: .
# to pull the pre-built image
image: git.kklochko.space/kklochko/decentralised_book_index:latest
container_name: dbi
ports:
- 4000:4000

Loading…
Cancel
Save