mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 08:56:42 -06:00
Create volume for /etc/shlink/data
Makes it so shlink can be used as a docker service without losing ur data every time
This commit is contained in:
parent
f8289fa4be
commit
312f20d2f1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user