-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seperate docker compose file in staging and production for backup #850
Conversation
docker/docker-compose-production.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this file is empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont know how that file become empty .I updated it again
@@ -18,7 +18,7 @@ jobs: | |||
- uses: actions/checkout@v2 | |||
- name: Start dependancies | |||
working-directory: ./docker | |||
run: docker compose up -d | |||
run: docker compose -f docker-compose-staging.yml up -d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this needs to happen only for staging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shimilgithub Actually do we need this built-n-test in staging and production ?
Since we have both compose file now ,inorder to run the built-n-test ,we need to specify one thats why I added staging here .I think this file is using at the stage of local to github .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per this , during release also staging docker compose will run
run: docker compose -f docker-compose-staging.yml run vachan-api-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here also
Utilize newly allocated space in production(backup) #836
Separate Docker Compose files for staging and production. In the staging Docker Compose file, there is no Ofelia scheduler container, while in the production Docker Compose file, the Ofelia scheduler is included for backup