Commit c79e885f authored by Andrea Manzi's avatar Andrea Manzi
Browse files

add chown of log folder

parent a5f8a215
Pipeline #66934 passed with stage
in 7 minutes and 42 seconds
......@@ -31,9 +31,9 @@ RUN /usr/bin/yum install -y fts-rest-selinux fts-rest httpd MySQL-python
RUN /usr/bin/yum install -y voms-config-wlcg voms-config-vo-dteam
#add user
RUN useradd fts3
RUN usermod -a -G fts3 apache
RUN useradd fts3 && usermod -a -G fts3 apache
RUN mkdir -p /var/log/fts3rest && chown fts3:fts3 /var/log/fts3rest
#expose ports
#expose port
EXPOSE 8446
fts-rest:
#image: gitlab-registry.cern.ch/fts/fts-rest:latest
build: .
volumes:
- /etc/fts3:/etc/fts3
- /var/log/fts3rest:/var/log/fts3rest
- /etc/grid-security:/etc/grid-security
entrypoint: /usr/sbin/apachectl -DFOREGROUND
ports:
- "8446:8446"
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