chore: execute postgres with init script

This commit is contained in:
Joao P Dubas 2022-04-23 16:49:36 +00:00
parent 7755f415e2
commit 402eed14ae

View File

@ -1,9 +1,11 @@
--- ---
version: '3.7' version: '3.7'
services: services:
db: db:
image: 'postgres:14.2-alpine' image: 'postgres:14.2-alpine'
hostname: &db_host db hostname: &db_host db
init: true
environment: environment:
POSTGRES_USER: &db_user postgres POSTGRES_USER: &db_user postgres
POSTGRES_PASSWORD: &db_pass postgres POSTGRES_PASSWORD: &db_pass postgres