Skip to content

Commit

Permalink
メインのサーバーはApp Serviceにしてこちらはサブ
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkekuru2 committed Sep 11, 2023
1 parent 9a75cbc commit 4d804e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
git checkout main
git pull
docker-compose down
docker-compose up -d --build
docker-compose -f docker-compose-app.yml up -d --build
"
env:
HOST: ${{ secrets.SSH_HOST }}
Expand Down
9 changes: 7 additions & 2 deletions docker-compose-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ version: "3"
services:
app:
image: python:3.8
depends_on:
- db
restart: always
volumes:
- .:/workspace:cached
Expand All @@ -16,3 +14,10 @@ services:
image: "redis:latest"
volumes:
- "./redis.conf:/etc/redis.conf"
phpmyadmin:
image: phpmyadmin
restart: always
environment:
PMA_ARBITRARY: 1
ports:
- "8080:80"

0 comments on commit 4d804e8

Please sign in to comment.