Added redmine image
This commit is contained in:
parent
e2bddc68e7
commit
1d8df135d9
|
@ -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"]
|
|
@ -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
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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"]
|
|
@ -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:
|
Loading…
Reference in New Issue