-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env
36 lines (31 loc) · 1.25 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#####################################################
# Application configuration #
#####################################################
ENV=development
LOG_LEVEL=debug # debug, info, warn, error, fatal
#####################################################
# Http server configuration #
#####################################################
SERVER_PORT=8080
JWT_SECRET=
#####################################################
# Database configuration #
#####################################################
DB_USER=root # Only for local development, define as secret in ci-pipeline
DB_PASS=secret # Only for local development, define as secret in ci-pipeline
DB_HOST=localhost
DB_NAME=go_template
### Postgres
#DB_PORT=5432
#DB_MIGRATION_DIR=resources/database/migrations/postgres
#DB_DRIVER=postgres
### MySQL/MariaDB
DB_PORT=3306
DB_MIGRATION_DIR=resources/database/migrations/mysql
DB_DRIVER=mysql
#####################################################
# RabbitMQ configuration #
#####################################################
RABBITMQ_USER=guest # Only for local development, define as secret in ci-pipeline
RABBITMQ_PASSWORD=guest # Only for local development, define as secret in ci-pipeline
RABBITMQ_HOST=localhost