switched to migrations
This commit is contained in:
@@ -12,10 +12,15 @@ services:
|
||||
image: postgres:9-alpine
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- ./init-db:/docker-entrypoint-initdb.d/
|
||||
environment:
|
||||
POSTGRES_USER: ap
|
||||
POSTGRES_PASSWORD: fifteen-invoices-imported!
|
||||
POSTGRES_DB: autoap
|
||||
migrator:
|
||||
build: ./migrator
|
||||
depends_on:
|
||||
- database
|
||||
environment:
|
||||
DATABASE_URL: "postgresql://ap:fifteen-invoices-imported!@database/autoap?ssl=false"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user