mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-01-20 01:34:47 +00:00
Update for public docker hub build images
This commit is contained in:
parent
c3ad00d193
commit
bc4d14a4f0
4
build/postgres/Dockerfile
Normal file
4
build/postgres/Dockerfile
Normal 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
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue