This commit is contained in:
Mayel de Borniol 2023-03-24 16:11:06 +13:00
parent 7d17b8bd35
commit 791eac3fa4
2 changed files with 3 additions and 3 deletions

View file

@ -56,4 +56,4 @@ COPY --from=messctl_build forks/messctl/target/release/messctl /bin/
EXPOSE 4000/tcp
EXPOSE 4004/tcp
CMD ["sh","-c","iex -S mix phx.server"]
CMD ["sh","-c","iex --sname dev -S mix phx.server"]

View file

@ -137,8 +137,8 @@ dev-run *args='': init
{{ if WITH_DOCKER == "total" { "just dev-docker -e WITH_FORKS=0" } else { "WITH_FORKS=0 iex -S mix phx.server" } }}
dev-proxied:
docker compose --profile proxy up -d proxy
just dev-docker --profile proxy
docker compose --profile proxy up -d
docker compose --profile proxy exec web iex --remsh dev -S mix
dev-docker *args='': docker-stop-web
docker compose $args run --name $WEB_CONTAINER --service-ports web