-
Notifications
You must be signed in to change notification settings - Fork 46
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
Docker file and docker-compose.yaml #650
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Based on work of @jovandeginste see : SamR1#463 (comment)
fix link to ruff
Currently translated at 90.7% (49 of 54 strings) Translation: FitTrackee/FitTrackee Client - Administration Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-administration/cs/
Currently translated at 70.3% (19 of 27 strings) Translation: FitTrackee/FitTrackee Client - Common Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-common/cs/
Currently translated at 100.0% (19 of 19 strings) Translation: FitTrackee/FitTrackee Client - Buttons Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-buttons/cs/
Currently translated at 28.5% (4 of 14 strings) Translation: FitTrackee/FitTrackee Client - Equipments Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-equipments/cs/
Currently translated at 100.0% (40 of 40 strings) Translation: FitTrackee/FitTrackee API - Emails Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-api-emails/cs/
Currently translated at 7.8% (3 of 38 strings) Translation: FitTrackee/FitTrackee Client - API messages Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-api-messages/cs/
Currently translated at 98.1% (106 of 108 strings) Translation: FitTrackee/FitTrackee Client - Workouts Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-workouts/cs/
Currently translated at 92.5% (25 of 27 strings) Translation: FitTrackee/FitTrackee Client - Common Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-common/cs/
Currently translated at 100.0% (5 of 5 strings) Translation: FitTrackee/FitTrackee Client - Errors Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-errors/cs/
Currently translated at 100.0% (14 of 14 strings) Translation: FitTrackee/FitTrackee Client - Equipments Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-equipments/cs/
Currently translated at 100.0% (38 of 38 strings) Translation: FitTrackee/FitTrackee Client - API messages Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-api-messages/cs/
Currently translated at 45.7% (64 of 140 strings) Translation: FitTrackee/FitTrackee Client - User Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-client-user/cs/
add missing commit() - linked to SamR1#557
Follow these steps in order to migrate from PostgreSQL 16 to 17 : - Make a SQL backup - Install PostgreSQL 17 - Drop the database created by FitTrackee - Restore the backup docker exec -i fittrackee-db pg_dumpall \ -U fittrackee > postgres-backupv16.sql docker stop fittrackee-db fittrackee mv fittrackee-db fittrackee-db.16 docker compose pull && docker compose up -d docker cp postgres-backupv16.sql fittrackee-db:/tmp docker stop fittrackee docker exec -it fittrackee-db bash su - postgres psql -U fittrackee -c 'DROP DATABASE fittrackee WITH (FORCE);' psql -U fittraclee -c 'CREATE DATABASE fittrackee;' psql -U fittrackee < postgres-backupv16.sql psql -U fittrackee -c 'ALTER USER fittrackee WITH PASSWORD \'fittrackee\';' docker restart fittrackee-db fittrackee Test the FitTrackee with PostgreSQL see equipments. If you're sure all is working as expected you can remove old PostgreSQL data directory : rm -rf fittrackee-db.16
PostgreSQL user and group APP_SETTINGS set to Production volume for GPX files
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've simplify
Dockerfile
in order to reduce size, i've also create adocker-compose.yaml
in order to deploy the container.You can find in
.github/workflow/docker.yaml
a workflow to build for arm64 and amd64 docker images.