Self hosted FLOSS fitness/workout, nutrition and weight tracker
Remove docker compose
Roland Geider1c103e3efd6d
diff --git a/extras/docker/compose/README.md b/extras/docker/compose/README.mddeleted file mode 100644index ac0072e6d..000000000--- a/extras/docker/compose/README.md+++ /dev/null@@ -1,102 +0,0 @@-# Development image for wger--Thank you for downloading wger Workout Manager. wger (ˈvɛɡɐ) is a free, open-source web application that manages your exercises and personal workouts, weight-and diet plans. It can also be used as a simple gym management utility, providing-different administrative roles (trainer, manager, etc.). It offers a REST API-as well, for easy integration with other projects and tools.---## Usage--This docker-compose file starts up a development environment with django's-development server, postgres as a database and redis for caching and saving-the sessions. It binds your current code checkout into the volume, if you-don't want or have one, use the `wger/demo` image, it is self-contained.--### 1 - Start all services--To start all services:-- docker-compose -f extras/docker/compose/docker-compose.yml up--Optionally download current exercises from wger.de, exercise images and-the ingredients (will take some time):-- docker-compose -f extras/docker/compose/docker-compose.yml exec web python3 manage.py sync-exercises- docker-compose -f extras/docker/compose/docker-compose.yml exec web wger download-exercise-images- docker-compose -f extras/docker/compose/docker-compose.yml exec web wger load-online-fixtures--Then open <http://localhost:8000> and log in as: **admin**, password **adminadmin**---### 2 - Lifecycle Management--To stop all services issue a stop command, this will preserve all containers-and volumes:-- docker-compose -f extras/docker/compose/docker-compose.yml stop--To start everything up again:-- docker-compose -f extras/docker/compose/docker-compose.yml start--To remove all containers (except for the postgres volume)-- docker-compose -f extras/docker/compose/docker-compose.yml down--To view the application's log:-- docker-compose -f extras/docker/compose/docker-compose.yml logs -f--### 2 - Other commands--You might need to issue other commands or do other manual work in the container,-e.g.-- docker-compose -f extras/docker/compose/docker-compose.yml exec web yarn install- docker-compose -f extras/docker/compose/docker-compose.yml exec --user root web /bin/bash--When developing some feature that requires database updates, you might find-if easier to remove the DJANGO_DB_* entries from the dev.env file so that-an sqlite file in ~/db/ is used instead of postgres. Then you can simply copy-the file to re-run migrations, etc.--## Building--If you want to build this yourself, keep in mind that you **must** build from the-project root. Make sure the wger/server image is available locally as well:-- docker-compose -f extras/docker/compose/docker-compose.yml build.---## Contact--Feel free to contact us if you found this useful or if there was something that-didn't behave as you expected. We can't fix what we don't know about, so please-report liberally. If you're not sure if something is a bug or not, feel free to-file a bug anyway.--* discord: <https://discord.gg/rPWFv6W>-* issue tracker: <https://github.com/wger-project/wger/issues>-* twitter: <https://twitter.com/wger_project>--## Sources--All the code and the content is freely available:--* Main repository: <https://github.com/wger-project/wger>--## Licence--The application is licenced under the Affero GNU General Public License 3 or-later (AGPL 3+).--The initial exercise and ingredient data is licensed additionally under one of-the Creative Commons licenses, see the individual exercises for more details.--The documentation is released under a CC-BY-SA either version 4 of the License,-or (at your option) any later version.--Some images where taken from Wikipedia, see the SOURCES file in their respective-folders for more details.diff --git a/extras/docker/compose/dev.env b/extras/docker/compose/dev.envdeleted file mode 100644index 4a1280f22..000000000--- a/extras/docker/compose/dev.env+++ /dev/null@@ -1,56 +0,0 @@--# Database-DJANGO_DB_ENGINE=django.db.backends.postgresql-DJANGO_DB_DATABASE=wger-DJANGO_DB_USER=wger-DJANGO_DB_PASSWORD=wger-DJANGO_DB_HOST=db-DJANGO_DB_PORT=5432--# Cache-DJANGO_CACHE_BACKEND=django_redis.cache.RedisCache-DJANGO_CACHE_LOCATION=redis://cache:6379/1-DJANGO_CACHE_TIMEOUT=100-DJANGO_CACHE_CLIENT_CLASS=django_redis.client.DefaultClient--DJANGO_MEDIA_ROOT=/home/wger/media--# Set the secret key to a random string if you are running this instance publicly-#SECRET_KEY=abcdef....---# Application-ALLOW_REGISTRATION=True-ALLOW_GUEST_USERS=True[email protected] # The 'from' email used when sending emails--# Others-DJANGO_DEBUG=True-WGER_USE_GUNICORN=False-TIME_ZONE=Europe/Berlin-SITE_URL=http://localhost:8000---#-# Additionally, you can set the following variables-#--# RECAPTCHA_PUBLIC_KEY-# RECAPTCHA_PRIVATE_KEY-# NOCAPTCHA--# ENABLE_EMAIL-# EMAIL_HOST-# EMAIL_PORT-# EMAIL_HOST_USER-# EMAIL_HOST_PASSWORD-# EMAIL_USE_TLS-# EMAIL_USE_SSL--# DJANGO_CACHE_BACKEND-# DJANGO_CACHE_LOCATION-# DJANGO_CACHE_TIMEOUT-# DJANGO_CACHE_CLIENT_CLASS--# DJANGO_MEDIA_ROOT-# DJANGO_STATIC_ROOTdiff --git a/extras/docker/compose/docker-compose.yml b/extras/docker/compose/docker-compose.ymldeleted file mode 100644index 9a69fc122..000000000--- a/extras/docker/compose/docker-compose.yml+++ /dev/null@@ -1,38 +0,0 @@-version: '3.7'--services:- web:- image: wger/server:latest- volumes:- - type: bind- source: ../../../- target: /home/wger/src/- - media:/home/wger/media- ports:- - "8000:8000"- env_file:- - ./dev.env- depends_on:- - db- - cache-- db:- image: postgres:12-alpine- volumes:- - wger-postgres-data:/var/lib/postgresql/data/- expose:- - 5432- environment:- - POSTGRES_USER=wger- - POSTGRES_PASSWORD=wger- - POSTGRES_DB=wger-- cache:- restart: always- image: redis:latest- expose:- - 6379--volumes:- wger-postgres-data:- media: