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:
Thomas Citharel 2021-08-03 18:08:49 +02:00
父節點 d45bcae400
當前提交 a34e253fb8
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: A061B9DDE0CA0773
共有 1 個文件被更改,包括 1 次插入10 次删除

查看文件

@ -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:
.: