Update for public docker hub build images

This commit is contained in:
Anthony Mineo 2020-03-08 12:06:15 -04:00
parent c3ad00d193
commit bc4d14a4f0
3 changed files with 13 additions and 4 deletions

View file

@ -0,0 +1,4 @@
FROM postgres:11.5
COPY ./build/postgres/docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
COPY ./build/postgres/export_local_db.sh /export_local_db.sh

View file

@ -5,9 +5,12 @@ services:
db:
environment:
POSTGRES_DB: "t2_stats"
POSTGRES_USER: "dev"
POSTGRES_PASSWORD: "dev"
POSTGRES_DB: "t2_stats"
volumes:
- ./build/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- ./build/postgres/export_local_db.sh:/export_local_db.sh
parser:

View file

@ -4,7 +4,10 @@ version: "3.7"
services:
db:
image: postgres:11.5
image: "amineo/t2-stats-db:v0.1.1"
build:
context: .
dockerfile: ./build/postgres/Dockerfile
ports:
- "5432:5432"
environment:
@ -12,14 +15,13 @@ services:
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
volumes:
- ./build/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- ./build/postgres/export_local_db.sh:/export_local_db.sh
- psqldata:/var/lib/postgresql/data
networks:
- internal
parser:
image: "amineo/t2-stats-parser:v0.1.1"
build:
context: .
dockerfile: ./build/go-t2-stat-parser/Dockerfile