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>
This commit is contained in:
parent
d45bcae400
commit
a34e253fb8
@ -35,16 +35,7 @@ services:
|
|||||||
MOBILIZON_DATABASE_DBNAME: ${POSTGRES_DB}
|
MOBILIZON_DATABASE_DBNAME: ${POSTGRES_DB}
|
||||||
MOBILIZON_DATABASE_HOST: postgres
|
MOBILIZON_DATABASE_HOST: postgres
|
||||||
MOBILIZON_DATABASE_PORT: ${POSTGRES_PORT}
|
MOBILIZON_DATABASE_PORT: ${POSTGRES_PORT}
|
||||||
command: >
|
command: sh -c "mix phx.server"
|
||||||
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"
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
.:
|
.:
|
||||||
|
Loading…
Reference in New Issue
Block a user