Empaquetage Debian basique

This commit is contained in:
2020-06-17 18:58:27 +02:00
parent 7f7b187296
commit 1d526a37d0
8 changed files with 92 additions and 8 deletions

View File

@ -2,8 +2,8 @@
# so I only need to overwrite some values
inherits: dev
app_name: "Backend Production"
host_port: 0.0.0.0:8080
app_name: "Daddy Backend"
host_port: 127.0.0.1:8080
web_ui: false
# debug, info, warn, error, fatal, panic, disable
@ -50,18 +50,22 @@ enable_tracing: true
database:
type: postgres
host: db
host: 127.0.0.1
port: 5432
dbname: backend_development
user: postgres
password: postgres
dbname: daddy
user: daddy
#password: postgres
#pool_size: 10
#max_retries: 0
#log_level: "debug"
# Set session variable "user.id" to the user id
# Enable this if you need the user id in triggers, etc
set_user_id: false
set_user_id: true
# database ping timeout is used for db health checking
ping_timeout: 5m
ping_timeout: 5m
migrations_path: ./migrations
cors_allowed_origins: ["*"]