Browse Source

Remove all commands from dev docker-compose, only run the server

All preparation commands can be run by hand

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
chapril
Thomas Citharel 11 months ago
parent
commit
a34e253fb8
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
  1. 11
      docker-compose.yml

11
docker-compose.yml

@ -35,16 +35,7 @@ services:
MOBILIZON_DATABASE_DBNAME: ${POSTGRES_DB}
MOBILIZON_DATABASE_HOST: postgres
MOBILIZON_DATABASE_PORT: ${POSTGRES_PORT}
command: >
sh -c "cd js &&
yarn --cwd "js" install &&
yarn --cwd "js" run build:pictures &&
cd ../ &&
mix deps.get &&
mix compile &&
mix ecto.create &&
mix ecto.migrate &&
mix phx.server"
command: sh -c "mix phx.server"
volumes:
pgdata:
.:

Loading…
Cancel
Save