diff --git a/redmine/Dockerfile b/redmine/Dockerfile new file mode 100644 index 0000000..d29331d --- /dev/null +++ b/redmine/Dockerfile @@ -0,0 +1,20 @@ +FROM redmine + +WORKDIR /usr/src/redmine + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + unzip \ + && rm -rf /var/lib/apt/lists/* + +COPY plugins/ ./plugins +COPY themes/ ./public/themes + +RUN unzip ./plugins/\*.zip -d ./plugins +RUN unzip ./public/themes/\*.zip -d ./public/themes +RUN chmod -R 755 ./plugins/* + +RUN rm ./plugins/*.zip +RUN rm ./public/themes/*.zip + +CMD ["rails", "server", "-b", "0.0.0.0"] \ No newline at end of file diff --git a/redmine/docker-compose.yml b/redmine/docker-compose.yml new file mode 100644 index 0000000..dd71fcc --- /dev/null +++ b/redmine/docker-compose.yml @@ -0,0 +1,32 @@ +version: '3.1' + +services: + + redmine: + image: vn-redmine + restart: always + ports: + - 3000:3000 +# volumes: +# - /mnt/storage/redmine/plugins:/usr/src/redmine/plugins +# - /mnt/storage/redmine/themes:/usr/src/redmine/public/themes +# - /mnt/storage/redmine/data:/usr/src/redmine/files + environment: + REDMINE_DB_MYSQL: db + REDMINE_DB_PASSWORD: aeb69b9dUX$$. + REDMINE_SECRET_KEY_BASE: rd1954521 + REDMINE_PLUGINS_MIGRATE: "true" + db: + image: mariadb + restart: always +# volumes: +# - /mnt/storage/redmine/db:/var/lib/mysql + environment: + - MYSQL_ROOT_PASSWORD=aeb69b9dUX$$. + - MYSQL_PASSWORD=aeb69b9dUX$$. + - MYSQL_DATABASE=redmine + - MYSQL_USER=redmine +# deploy: +# placement: +# constraints: +# - node.hostname == vch1 \ No newline at end of file diff --git a/redmine/plugins/redmine_banner-0.3.4.zip b/redmine/plugins/redmine_banner-0.3.4.zip new file mode 100644 index 0000000..36f8052 Binary files /dev/null and b/redmine/plugins/redmine_banner-0.3.4.zip differ diff --git a/redmine/plugins/redmine_checklists-3_1_18-light.zip b/redmine/plugins/redmine_checklists-3_1_18-light.zip new file mode 100644 index 0000000..009f963 Binary files /dev/null and b/redmine/plugins/redmine_checklists-3_1_18-light.zip differ diff --git a/redmine/plugins/redmine_issue_dynamic_edit.zip b/redmine/plugins/redmine_issue_dynamic_edit.zip new file mode 100644 index 0000000..d004213 Binary files /dev/null and b/redmine/plugins/redmine_issue_dynamic_edit.zip differ diff --git a/redmine/themes/PurpleMine2-2.13.0.zip b/redmine/themes/PurpleMine2-2.13.0.zip new file mode 100644 index 0000000..b32bfcd Binary files /dev/null and b/redmine/themes/PurpleMine2-2.13.0.zip differ diff --git a/redmine/themes/circle_theme-2_1_5.zip b/redmine/themes/circle_theme-2_1_5.zip new file mode 100644 index 0000000..df0b58e Binary files /dev/null and b/redmine/themes/circle_theme-2_1_5.zip differ diff --git a/rt/Dockerfile b/rt/Dockerfile deleted file mode 100644 index 2e6d8ab..0000000 --- a/rt/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM netsandbox/request-tracker - -SHELL ["/bin/bash", "-o", "pipefail", "-c"] - -WORKDIR /usr/local/src - -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - libnet-ldap-perl \ - && rm -rf /var/lib/apt/lists/* - -ENTRYPOINT ["docker-entrypoint.sh"] - -CMD ["apache2-foreground"] \ No newline at end of file diff --git a/rt/docker-compose.yml b/rt/docker-compose.yml deleted file mode 100644 index 6568013..0000000 --- a/rt/docker-compose.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: '3.7' -services: - main: - image: registry.verdnatura.es/rt:5.0 - ports: - - 80 - volumes: - - data:/opt/rt5 - deploy: - placement: - constraints: - - node.hostname == vch1 -volumes: - data: \ No newline at end of file