Verified Commit cf17e13e authored by René Kersten's avatar René Kersten
Browse files

feat: remove log volume

parent 054685b6
Pipeline #17159 passed with stages
in 2 minutes and 1 second
......@@ -4,7 +4,7 @@ RUN dnf install -y vsftpd \
&& dnf clean all
VOLUME /srv/ftp
VOLUME /var/log/vsftpd
# VOLUME /var/log/vsftpd
EXPOSE 20 21
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
ENV PASV_MIN_PORT 40000
......@@ -14,4 +14,4 @@ ENV PASV_ADDRESS REQUIRED
RUN touch /etc/vsftpd/virtual
COPY docker/vsftpd.conf /etc/vsftpd/vsftpd.conf
COPY docker/entrypoint.sh /usr/local/bin/docker-entrypoint
COPY docker/pam.conf /etc/pam.d/vsftpd-virtual
COPY docker/pam.conf /etc/pam.d/vsftpd-virtual
......@@ -10,13 +10,10 @@ services:
- "40000-40100:40000-40100"
volumes:
- ftp:/srv/ftp
- ftp_logs:/var/log/vsftpd
volumes:
ftp:
external: true
ftp_logs:
external: true
networks:
ftp:
......
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