init
This commit is contained in:
2
postgres/.env
Normal file
2
postgres/.env
Normal file
@@ -0,0 +1,2 @@
|
||||
POSTGRES_USER=garde-studios
|
||||
POSTGRES_PASSWORD=garde-studios
|
18
postgres/compose.yml
Normal file
18
postgres/compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
container_name: pgdb
|
||||
restart: always
|
||||
env_file: ./.env
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
device: ./data
|
||||
o: bind
|
Reference in New Issue
Block a user