small compose.yml cleanup (#16)
This commit is contained in:
commit
b1b1dbee6e
@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
teufa:
|
api:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
develop:
|
develop:
|
||||||
@ -26,8 +26,8 @@ services:
|
|||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
migrate:
|
migrate:
|
||||||
image: teufa:latest
|
image: teufa:latest
|
||||||
depends_on:
|
command: alembic upgrade head
|
||||||
- db
|
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgresql+psycopg://postgres:changeme@db:5432/postgres
|
DATABASE_URL: postgresql+psycopg://postgres:changeme@db:5432/postgres
|
||||||
command: alembic upgrade head
|
depends_on:
|
||||||
|
- db
|
||||||
|
Loading…
x
Reference in New Issue
Block a user