feat: add database/postgres

This commit is contained in:
lab 2021-12-02 23:20:07 +08:00
parent ca535f25f9
commit 04ca9c09a5

View 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