Added RT 5.0 image

This commit is contained in:
Joan Sanchez 2020-10-30 13:57:49 +01:00
parent a5af84b30e
commit e2bddc68e7
2 changed files with 28 additions and 0 deletions

14
rt/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
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"]

14
rt/docker-compose.yml Normal file
View File

@ -0,0 +1,14 @@
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: