chore: execute postgres with init script
This commit is contained in:
parent
7755f415e2
commit
402eed14ae
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user