1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-06 22:23:10 +02:00

add commento

This commit is contained in:
kev
2021-10-27 12:07:38 +08:00
parent 129ed7a3fc
commit ea05e918ea
6 changed files with 50 additions and 13 deletions

View File

@ -1,11 +1,13 @@
postgres:
image: postgres:13-alpine
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
restart: unless-stopped
version: "3.8"
services:
postgres:
image: postgres:alpine
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
restart: unless-stopped