mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
refactor: Update Docker Compose configuration for Copilot
This commit updates the Docker Compose configuration for Copilot. It removes the unnecessary volume mapping for the COPILOT_REPOSITORY_LOCAL_PATH in the docker-compose.copilot.yml file. This change improves the clarity and simplicity of the configuration file.
This commit is contained in:
parent
3eba4da4a8
commit
12dab7bdda
6
.github/workflows/reliability-copilot.yml
vendored
6
.github/workflows/reliability-copilot.yml
vendored
@ -26,13 +26,11 @@ jobs:
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
# Run Reliability Copilot in Doker Container
|
||||
- name: Run Copilot
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/repository -w /repository oneuptime/copilot:test \
|
||||
docker run --rm \
|
||||
-e ONEUPTIME_URL='https://test.oneuptime.com' \
|
||||
-e ONEUPTIME_REPOSITORY_SECRET_KEY=${{ secrets.COPILOT_ONEUPTIME_REPOSITORY_SECRET_KEY }} \
|
||||
-e CODE_REPOSITORY_PASSWORD=${{ github.token }} \
|
||||
|
@ -2,7 +2,6 @@ services:
|
||||
|
||||
copilot:
|
||||
volumes:
|
||||
- ${COPILOT_REPOSITORY_LOCAL_PATH}:/repository
|
||||
- ./Copilot:/usr/src/app
|
||||
# Use node modules of the container and not host system.
|
||||
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
||||
|
Loading…
Reference in New Issue
Block a user