Skip to content

Commit

Permalink
fix: 🐛 update deploy,yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonfrank committed Jul 3, 2024
1 parent cf5cbe0 commit b3d5241
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,25 @@ jobs:
script: |
cd ~/shopkeeper-api &&
docker network create shopkeeper-network &&
docker run -d \
--name shopkeeper-db \
--network shopkeeper-network \
-e POSTGRES_PASSWORD=postgres \
-v $(pwd)/pgdata:/var/lib/postgresql/data \
-p 5455:5432 \
postgres &&
docker pull nelsonfrank/shopkeeper-api:main &&
docker run --rm -p 3001:3001 nelsonfrank/shopkeeper-api:main
docker run --rm -p 3001:3001 nelsonfrank/shopkeeper-api:main &&
docker run -d \
--name shopkeeper-pgadmin4 \
--network shopkeeper-network \
-e [email protected] \
-e PGADMIN_DEFAULT_PASSWORD=pgadmin4 \
-p 5050:80 \
dpage/pgadmin4

0 comments on commit b3d5241

Please sign in to comment.