add postgres
This commit is contained in:
@@ -19,3 +19,17 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 7700:7700
|
||||
|
||||
postgres:
|
||||
image: postgres
|
||||
container_name: postgres
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=pgsql@pwd
|
||||
- PGID=1000
|
||||
- PUID=1000
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- ./.postgres_data:/var/lib/postgresql/data
|
||||
|
||||
Reference in New Issue
Block a user