Обновление конфигов и readme

This commit is contained in:
Michael Makarochkin 2025-03-14 03:16:53 +03:00
parent 4470cacd23
commit 3df4f7facb
5 changed files with 20 additions and 11 deletions

1
.example.env Normal file
View File

@ -0,0 +1 @@
DB_PASSWORD=password

1
.gitignore vendored
View File

@ -1 +1,2 @@
.idea
.env

View File

@ -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 ошибок

View File

@ -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:

View File

@ -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