mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
add postgres
This commit is contained in:
11
postgres/docker-compose.yml
Normal file
11
postgres/docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
postgres:
|
||||
image: postgres:alpine
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- ./data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=root
|
||||
- POSTGRES_PASSWORD=root
|
||||
- POSTGRES_DB=postgres
|
||||
restart: always
|
||||
Reference in New Issue
Block a user