update postgres

This commit is contained in:
kev 2021-08-24 14:53:36 +08:00
parent 9de3153cd1
commit b47ca6fb2a
2 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
postgres: postgres:
image: easypi/postgres-arm image: arm32v7/postgres:13-alpine
ports: ports:
- "5432:5432" - "5432:5432"
volumes: volumes:
- ./data:/var/lib/postgresql/data - ./data:/var/lib/postgresql/data
environment: environment:
- POSTGRES_USER=root - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=root - POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres - POSTGRES_DB=postgres
restart: always restart: unless-stopped

View File

@ -1,5 +1,5 @@
postgres: postgres:
image: postgres:alpine image: postgres:13-alpine
ports: ports:
- "5432:5432" - "5432:5432"
volumes: volumes: