mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-26 18:38:39 -06:00
chore(deploy): update deployment workflow to use Docker Compose instead of PM2 for better container management
chore(docker-compose): remove postgres dependency from production services as it is no longer required
This commit is contained in:
parent
aed6c77b82
commit
6d6327b4f6
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
remote_user: ${{ secrets.EC2_USER }}
|
remote_user: ${{ secrets.EC2_USER }}
|
||||||
remote_key: ${{ secrets.EC2_SSH_KEY }}
|
remote_key: ${{ secrets.EC2_SSH_KEY }}
|
||||||
|
|
||||||
- name: Start application with PM2
|
- name: Start application with Docker Compose
|
||||||
uses: appleboy/ssh-action@v1.2.0
|
uses: appleboy/ssh-action@v1.2.0
|
||||||
with:
|
with:
|
||||||
host: ec2-44-192-63-173.compute-1.amazonaws.com
|
host: ec2-44-192-63-173.compute-1.amazonaws.com
|
||||||
|
@ -6,7 +6,6 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user