mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-21 23:50:59 +00:00
add volume and exc process
This commit is contained in:
parent
294b229e48
commit
594bd9773f
2 changed files with 14 additions and 0 deletions
|
@ -11,10 +11,15 @@ services:
|
|||
LIVE_BEATS_GITHUB_CLIENT_SECRET: "FIX_ME"
|
||||
DEV_CONTAINER: "true"
|
||||
DATABASE_URL: "ecto://postgres:postgres@db/live_beats_dev"
|
||||
MIX_ENV: dev
|
||||
volumes:
|
||||
- .:/app/:cached
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- "4000:4000"
|
||||
command:
|
||||
- ./run.sh
|
||||
db:
|
||||
container_name: "live_beats_data"
|
||||
image: "postgres:14.2"
|
||||
|
|
9
run.sh
Executable file
9
run.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
mix deps.get
|
||||
|
||||
mix ecto.setup
|
||||
|
||||
mix phx.server
|
Loading…
Reference in a new issue