Commit 6ac7f43e authored by Andrea Manzi's avatar Andrea Manzi
Browse files

added docker run example

parent c79e885f
Pipeline #66951 passed with stage
in 45 seconds
......@@ -35,5 +35,6 @@ RUN useradd fts3 && usermod -a -G fts3 apache
RUN mkdir -p /var/log/fts3rest && chown fts3:fts3 /var/log/fts3rest
#expose port
EXPOSE 8446
CMD ["/usr/sbin/apachectl","-DFOREGROUND"]
......@@ -4,6 +4,5 @@ fts-rest:
volumes:
- /etc/fts3:/etc/fts3
- /etc/grid-security:/etc/grid-security
entrypoint: /usr/sbin/apachectl -DFOREGROUND
ports:
- "8446:8446"
docker run -d -p 8446:8446 -v /etc/fts3:/etc/fts3 -v /etc/grid-security:/etc/grid-security gitlab-registry.cern.ch/fts/fts-rest:latest
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment