Update deploy.yml
All checks were successful
Build and push container image / build (push) Successful in 9m58s
All checks were successful
Build and push container image / build (push) Successful in 9m58s
This commit is contained in:
parent
b238c9f077
commit
dd9ee41287
@ -16,5 +16,5 @@ jobs:
|
|||||||
port: ${{ secrets.SSH_PORT }}
|
port: ${{ secrets.SSH_PORT }}
|
||||||
script: |
|
script: |
|
||||||
cd kon && docker compose pull && \
|
cd kon && docker compose pull && \
|
||||||
docker compose down --remove-orphans && docker compose up -d && \
|
docker compose down bot --remove-orphans && docker compose up -d bot && \
|
||||||
docker image prune -f && docker system prune -f
|
docker image prune -f && docker system prune -f
|
||||||
|
@ -7,6 +7,8 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
db:
|
db:
|
||||||
container_name: kon-database
|
container_name: kon-database
|
||||||
image: postgres:16.1-alpine3.19@sha256:b1413d8f37470f1fb355ea833d91855d6e24929e8f4336984c5be0de62947a25
|
image: postgres:16.1-alpine3.19@sha256:b1413d8f37470f1fb355ea833d91855d6e24929e8f4336984c5be0de62947a25
|
||||||
|
Loading…
Reference in New Issue
Block a user