migrate to ci and postgress
This commit is contained in:
24
service.yaml
Normal file
24
service.yaml
Normal 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: "*"
|
||||
Reference in New Issue
Block a user