Обновление конфигов и readme
This commit is contained in:
parent
4470cacd23
commit
3df4f7facb
1
.example.env
Normal file
1
.example.env
Normal file
@ -0,0 +1 @@
|
||||
DB_PASSWORD=password
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
.idea
|
||||
.env
|
||||
17
README.md
17
README.md
@ -1,11 +1,18 @@
|
||||
Библиотеки
|
||||
# pink_fox
|
||||
|
||||
- [веб framework](https://github.com/gin-gonic/gin)
|
||||
- [косольное приложение](https://github.com/spf13/cobra)
|
||||
## Развертывание
|
||||
|
||||
Скопировать `cp environment/example.config.yml environment/config.yml` и поправить пароль.
|
||||
|
||||
Скопировать `cp .example.env .env` и поправить пароль.
|
||||
|
||||
## Библиотеки
|
||||
|
||||
- [Веб framework](https://github.com/gin-gonic/gin)
|
||||
- [Framework консольных приложений](https://github.com/spf13/cobra)
|
||||
- [Шаблонизатор](https://github.com/CloudyKit/jet)
|
||||
|
||||
|
||||
Планы
|
||||
## Планы
|
||||
|
||||
- модели
|
||||
- кастомизация страницы html ошибок
|
||||
|
||||
@ -22,7 +22,7 @@ services:
|
||||
image: postgres:16
|
||||
environment:
|
||||
- POSTGRES_USER=pink_fox
|
||||
- POSTGRES_PASSWORD=pink_fox_pass
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
- TZ=Europe/Moscow
|
||||
- PGTZ=Europe/Moscow
|
||||
volumes:
|
||||
|
||||
@ -3,11 +3,11 @@ port: 12001
|
||||
|
||||
# Соединение с postgres
|
||||
db:
|
||||
host: localhost
|
||||
user: user
|
||||
host: postgres
|
||||
user: pink_fox
|
||||
password: password
|
||||
port: 5432
|
||||
database: dbname
|
||||
database: pink_fox_db
|
||||
|
||||
debug: true
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user