migrate to ci and postgress

This commit is contained in:
2026-02-08 20:06:17 +03:00
parent 88fcc33e87
commit f839d215f3
16 changed files with 1195 additions and 240 deletions

24
service.yaml Normal file
View File

@ -0,0 +1,24 @@
service:
name: simple-storage
type: api
deploy:
namespace: backend-for-learning
domain: simple-storage.vigdorov.ru
infrastructure:
postgres: true
env:
- name: DATABASE_HOST
value: "simple-storage-postgres"
- name: DATABASE_PORT
value: "5432"
- name: DATABASE_USER
value: "simple_storage_user"
- name: DATABASE_PASSWORD
value: "S1mpl3_St0r@g3_DB_2025!"
- name: DATABASE_NAME
value: "simple_storage_db"
- name: CORS_ORIGIN
value: "*"