Initial Commit
This commit is contained in:
16
compose.yml
Normal file
16
compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
container_name: todo-db
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '5432:5432'
|
||||
volumes:
|
||||
- 'todo-data:/var/lib/postgresql/data'
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=db
|
||||
- POSTGRES_USER=db
|
||||
- POSTGRES_DB=db
|
||||
|
||||
volumes:
|
||||
todo-data:
|
Reference in New Issue
Block a user