alemayhu / 2nft

web application to use iptables-translate
https://2nft.alemayhu.com/
6 stars 0 forks source link

Docker: use a volume to store translations #4

Open aalemayhu opened 7 years ago

aalemayhu commented 7 years ago

The current implementation stores stuff either in /tmp/ or $STORAGE_DIR. Since I am not setting the environment variable anywhere, we are only using a temporary directory. This has the downside that whenever the container is updated all of the translated rules are gone. Yes, the rules can be easily recreated, but broken urls is a bug.

aalemayhu commented 7 years ago