This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
|
||||
networks:
|
||||
postgres:
|
||||
external: false
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:13
|
||||
restart: always
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
environment:
|
||||
- POSTGRES_USER=videon
|
||||
- POSTGRES_PASSWORD=videon
|
||||
- POSTGRES_DB=videon
|
||||
networks:
|
||||
- postgres
|
||||
volumes:
|
||||
- postres-volume:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
postres-volume:
|
||||
Reference in New Issue
Block a user