This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -19,3 +19,17 @@ steps:
|
||||
repo: git.prtsie.ru/prtsie/schengen-visa-${DRONE_BRANCH}
|
||||
tags:
|
||||
- latest
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
when:
|
||||
branch: main
|
||||
settings:
|
||||
script_stop: true
|
||||
host: prtsie.ru:1337
|
||||
username: root
|
||||
key:
|
||||
from_secret: ssh_key
|
||||
script:
|
||||
- cd /deploy
|
||||
- ./deploy.sh ${DRONE_BRANCH}
|
||||
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
container_name: visa-db
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: ${POSTGRESPASS}
|
||||
POSTGRES_PASSWORD: Qwerty123456!
|
||||
POSTGRES_DATABASE: visa
|
||||
ports:
|
||||
- "5433:5432"
|
||||
|
||||
Reference in New Issue
Block a user