migrate ci and postgress
This commit is contained in:
24
service.yaml
Normal file
24
service.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
service:
|
||||
name: image-list
|
||||
type: api
|
||||
|
||||
deploy:
|
||||
namespace: backend-for-learning
|
||||
domain: image-list.vigdorov.ru
|
||||
|
||||
infrastructure:
|
||||
postgres: true
|
||||
|
||||
env:
|
||||
- name: DATABASE_HOST
|
||||
value: "image-list-postgres"
|
||||
- name: DATABASE_PORT
|
||||
value: "5432"
|
||||
- name: DATABASE_USER
|
||||
value: "image_list_user"
|
||||
- name: DATABASE_PASSWORD
|
||||
value: "Im@g3L1st_DB_P@ss_2025!"
|
||||
- name: DATABASE_NAME
|
||||
value: "image_list_db"
|
||||
- name: CORS_ORIGIN
|
||||
value: "*"
|
||||
Reference in New Issue
Block a user