mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-27 17:54:23 +00:00
fix cloudflare tunnels (#1076)
The Server didn't have correct permissions to create the directory for the cloudflare config. Have docker do it instead. Also the credentials file key was incorrect.
This commit is contained in:
@@ -59,5 +59,8 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY startup.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/startup.sh
|
||||
|
||||
RUN mkdir -p /tmp/.cloudflared && chmod 777 /tmp/.cloudflared
|
||||
ENV CF_CONFIG_DIR=/tmp/.cloudflared
|
||||
|
||||
# Use the startup script as the entrypoint
|
||||
ENTRYPOINT ["/usr/local/bin/startup.sh"]
|
||||
|
||||
Reference in New Issue
Block a user