docker-ifyed.
This commit is contained in:
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- 3000:3000
|
||||
depends_on:
|
||||
- database
|
||||
environment:
|
||||
config: /usr/local/config/prod.edn
|
||||
database:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user