From 46652555073ef0b26ff6c2b46f41db05d340c1d7 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 11 Dec 2023 13:25:42 +0000 Subject: [PATCH] [Docker] Removed- too much of a support headache Sadly need to optimise time and thus have removed official docker support for now as its becoming a support headache. --- .github/workflows/push-docker-hub.yml | 37 --------------------------- README.md | 1 + docker/Dockerfile | 29 --------------------- docker/docker-compose.yml | 18 ------------- 4 files changed, 1 insertion(+), 84 deletions(-) delete mode 100644 .github/workflows/push-docker-hub.yml delete mode 100644 docker/Dockerfile delete mode 100644 docker/docker-compose.yml diff --git a/.github/workflows/push-docker-hub.yml b/.github/workflows/push-docker-hub.yml deleted file mode 100644 index b90357520..000000000 --- a/.github/workflows/push-docker-hub.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Push Docker image to the Hub - -on: - push: - # Pattern matched against refs/tags - tags: - - '*' # Push events to every tag not containing - - workflow_dispatch: - -jobs: - docker: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - uses: actions-ecosystem/action-get-latest-tag@v1 - id: get-latest-tag - - name: Print latest tag - run: echo ${{ steps.get-latest-tag.outputs.tag }} - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Login to Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v4 - with: - context: ./ - file: ./docker/Dockerfile - platforms: linux/amd64,linux/arm64,linux/arm/v7 - push: true - tags: ${{ secrets.DOCKERHUB_IMAGENAME }}:${{ steps.get-latest-tag.outputs.tag }},${{ secrets.DOCKERHUB_IMAGENAME }}:latest diff --git a/README.md b/README.md index 9b195db3c..0eed61dd6 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Website: [http://www.cloudlog.co.uk](http://www.cloudlog.co.uk) Notes * If you want to log microwave QSOs you will need to use a 64bit operating system. +* We do not provide Docker support, however you are free to use it if you wish but we will not handle support. ## Setup diff --git a/docker/Dockerfile b/docker/Dockerfile deleted file mode 100644 index da2bfd74e..000000000 --- a/docker/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -FROM php:8.2-apache -# Enabling custom upload settings in PHP -RUN touch /usr/local/etc/php/conf.d/uploads.ini \ -&& echo "file_uploads = On" >> /usr/local/etc/php/conf.d/uploads.ini \ -&& echo "memory_limit = 64M" >> /usr/local/etc/php/conf.d/uploads.ini \ -&& echo "upload_max_filesize = 64M" >> /usr/local/etc/php/conf.d/uploads.ini \ -&& echo "post_max_size = 64M" >> /usr/local/etc/php/conf.d/uploads.ini \ -&& echo "max_execution_time = 60" >> /usr/local/etc/php/conf.d/uploads.ini -# Adding required libraries and modules -RUN apt-get update \ -&& apt-get install -y git curl libxml2-dev libonig-dev -RUN docker-php-ext-install mysqli mbstring xml -# Cleanup -RUN rm -rf /var/www/html/docker/ -# Copy proper file to target image -COPY ./ /var/www/html/ -WORKDIR /var/www/html -# Setting permissions as: https://github.com/magicbug/Cloudlog/wiki/Installation -RUN cd /var/www/html \ -&& chown -R root:www-data /var/www/html -RUN chmod -R g+rw ./application/config/ \ -&& chmod -R g+rw ./application/logs/ \ -&& chmod -R g+rw ./assets/qslcard/ \ -&& chmod -R g+rw ./backup/ \ -&& chmod -R g+rw ./updates/ \ -&& chmod -R g+rw ./uploads/ \ -&& chmod -R g+rw ./images/eqsl_card_images/ \ -&& chmod -R g+rw ./assets/json/ \ -&& chmod -R 777 /var/www/html/install \ No newline at end of file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml deleted file mode 100644 index 8e757217b..000000000 --- a/docker/docker-compose.yml +++ /dev/null @@ -1,18 +0,0 @@ -version: ‘3.4’ - -services: - cloudlog: - image: cloudlog - container_name: cloudlog - volumes: - - cloudlog-config:/var/www/html/application/config - - cloudlog-backup:/var/www/html/application/backup - - cloudlog-uploads:/var/www/html/application/uploads - ports: - - 8086:80 - restart: unless-stopped - -volumes: - cloudlog-config: - cloudlog-backup: - cloudlog-uploads: