Commit Graph

12 Commits (c0e9e86a9e190c067c56b58625363896c082f3e8)

Author SHA1 Message Date
ansuz 2dfbb522b0 simplify server websocket configuration
yflory 11236c6445 Fix docker issues
ansuz a745fa1b71 mkdirp config
ansuz de9e2cccfc account for moved config.js throughout the rest of container-start.sh
ansuz 744f212b26 keep config.js in config/
and persist it via various docker mechanisms
ansuz 4ff7683f23 customize/ should not be a copy of customize.dist/
mcrosson b35959376e Update docker start script to bust the cache on each run
Thomas Gläßle 405526cfa5 Properly escape sed replace expressions
This fixes an error during container startup due to interpolating a
$STORAGE value that may contain slashes or other "active" characters:

    ...
    Using secure websockets: false
    Using storage adapter: ./storage/file
    sed: bad option in substitution expression

Also add a trailing ',' in the search expression to avoid substituting
in the comment above the actual definition:

    /*  If Cryptpad is proxied without using https, the server needs to know.
     *  Specify 'useSecureWebsockets: true' so that it can send
    ...
Caleb James DeLisle 211113fb1a little flowey
Thomas Gläßle 2985c6a051 Cleanup Dockerfile, thanks to @kpcyrd
Thomas Gläßle c182a407cf Fix typo in container-start.sh
felixboehm d8c18d0937 adding docker and docker-compose