feat: add database/postgres
This commit is contained in:
parent
ca535f25f9
commit
04ca9c09a5
15
database/docker-compose.yml
Normal file
15
database/docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
postgresql:
|
||||||
|
image: postgres:alpine
|
||||||
|
container_name: "postgresql"
|
||||||
|
environment:
|
||||||
|
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/lib/postgresql/data
|
||||||
|
networks:
|
||||||
|
- database
|
||||||
|
networks:
|
||||||
|
database:
|
||||||
|
external: true
|
Loading…
x
Reference in New Issue
Block a user