Skip to content

Commit

Permalink
adds makefile and update db image
Browse files Browse the repository at this point in the history
  • Loading branch information
ccash3 authored and ccash3 committed Oct 21, 2019
1 parent 9e1a8d8 commit 2f688ed
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
build:
docker build --no-cache --rm -t airflow_compose:latest .
compile:
docker-compose build

start:
docker-compose up -d

stop:
docker-compose down

run: compile \
start
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'
services:
postgres:
container_name: airflowmeta_example
image: postgres:9.6.3
image: postgres:9.6.3-alpine
environment:
POSTGRES_PASSWORD: airflow123
POSTGRES_USER: airflow
Expand Down Expand Up @@ -33,4 +33,4 @@ services:
depends_on:
- postgres
links:
- postgres:postgres
- postgres:postgres

0 comments on commit 2f688ed

Please sign in to comment.