with base
This commit is contained in:
4
templates/.env.example.tmpl
Normal file
4
templates/.env.example.tmpl
Normal file
@@ -0,0 +1,4 @@
|
||||
POSTGRES_DB=como
|
||||
POSTGRES_USER=como
|
||||
POSTGRES_PASSWORD=somenotverysecurepassword
|
||||
DATABASE_URL="postgres://como:somenotverysecurepassword@localhost:5432/como"
|
7
templates/docker-compose.local_up.dockerignore
Normal file
7
templates/docker-compose.local_up.dockerignore
Normal file
@@ -0,0 +1,7 @@
|
||||
target/
|
||||
.git/
|
||||
.cuddle/
|
||||
scripts/
|
||||
cuddle.yaml
|
||||
local.sh
|
||||
README.md
|
15
templates/docker-compose.local_up.yml.tmpl
Normal file
15
templates/docker-compose.local_up.yml.tmpl
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:13.5
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_DB=como
|
||||
- POSTGRES_USER=como
|
||||
- POSTGRES_PASSWORD=somenotverysecurepassword
|
||||
- DATABASE_URL="postgres://como:somenotverysecurepassword@localhost:5432/como"
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
Reference in New Issue
Block a user