Correct demo data volume access
This commit is contained in:
parent
18b96382f2
commit
ee41c3fbd3
2 changed files with 3 additions and 3 deletions
2
.github/workflows/build-and-deploy.yml
vendored
2
.github/workflows/build-and-deploy.yml
vendored
|
|
@ -69,7 +69,7 @@ jobs:
|
||||||
host: ${{ secrets.SERVER_HOST }}
|
host: ${{ secrets.SERVER_HOST }}
|
||||||
username: ${{ secrets.SERVER_USERNAME }}
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
source: "docker-compose.yml,docker-compose.prod.yml"
|
source: "docker-compose.yml,docker-compose.prod.yml,rust-engine/demo-data"
|
||||||
target: "/home/github-actions/codered-astra/"
|
target: "/home/github-actions/codered-astra/"
|
||||||
|
|
||||||
- name: Deploy to server via SSH ☁️
|
- name: Deploy to server via SSH ☁️
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ services:
|
||||||
- RUST_ENGINE_URL=http://rust-engine:8000
|
- RUST_ENGINE_URL=http://rust-engine:8000
|
||||||
- GEMINI_API_KEY=${GEMINI_API_KEY}
|
- GEMINI_API_KEY=${GEMINI_API_KEY}
|
||||||
volumes:
|
volumes:
|
||||||
- rust-storage:/app/storage:ro
|
- /home/github-actions/codered-astra/rust-engine/demo-data:/app/storage:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
- mysql
|
||||||
- rust-engine
|
- rust-engine
|
||||||
|
|
@ -30,7 +30,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ~/astra-logs:/var/log
|
- ~/astra-logs:/var/log
|
||||||
- rust-storage:/app/storage
|
- rust-storage:/app/storage
|
||||||
- /var/www/codered-astra/rust-engine/demo-data:/app/demo-data:ro
|
- /home/github-actions/codered-astra/rust-engine/demo-data:/app/demo-data:ro
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue