Merge pull request #1060 from LeagueRaINi/patch-1

Create volume for /etc/shlink/data
This commit is contained in:
Alejandro Celaya 2021-03-30 18:11:50 +02:00 committed by GitHub
commit ea0820d881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,6 +69,8 @@ EXPOSE 8080
# Expose params config dir, since the user is expected to provide custom config from there
VOLUME /etc/shlink/config/params
# Expose data to have it persistent when using shlink as a docker service or similar
VOLUME /etc/shlink/data
# Copy config specific for the image
COPY docker/docker-entrypoint.sh docker-entrypoint.sh