mirror of https://github.com/xwiki-labs/cryptpad
make docker-compose work with entrypoint script
This commit is contained in:
parent
0cb2f42b33
commit
7218a2c96a
|
@ -3,13 +3,14 @@ version: '3.8'
|
|||
|
||||
services:
|
||||
cryptpad:
|
||||
image: "cryptpad/cryptpad:testing"
|
||||
image: "cryptpad/cryptpad:latest"
|
||||
hostname: cryptpad
|
||||
|
||||
environment:
|
||||
- CPAD_MAIN_DOMAIN=example.com
|
||||
- CPAD_SANDBOX_DOMAIN=sandbox.example.com
|
||||
- CPAD_ADMIN_EMAIL=username@example.com
|
||||
- CPAD_CONF=/cryptpad/config/config.js
|
||||
|
||||
volumes:
|
||||
- ./data/blob:/cryptpad/blob
|
||||
|
@ -17,7 +18,6 @@ services:
|
|||
- ./customize:/cryptpad/customize
|
||||
- ./data/data:/cryptpad/data
|
||||
- ./data/files:/cryptpad/datastore
|
||||
- ./data/config.js:/cryptpad/config/config.js
|
||||
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
|
Loading…
Reference in New Issue