Skip to content

Commit

Permalink
Add docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
martian0x80 committed Apr 28, 2024
1 parent 88587ec commit 3d4f52f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ jobs:
#docker rm $(docker stop $(docker ps -a -q --filter ancestor=martian0x80/ipusenpai --format="{{.ID}}"))
docker system prune -f
echo "Running Docker Container..." | cowsay | lolcat
docker run -d -p 80:8080 --env-file ~/.env martian0x80/ipusenpai:latest
#docker run -d -p 80:8080 --env-file ~/.env martian0x80/ipusenpai:latest
docker-compose up -d
echo "Pipeline completed." | cowsay | lolcat
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "3"
services:
ipusenpai:
container_name: ipusenpai
stdin_open: true
tty: true
ports:
- 8080:8080
restart: always
env_file:
- ~/.env
image: martian0x80/ipusenpai:latest

0 comments on commit 3d4f52f

Please sign in to comment.