hedgedoc
This commit is contained in:
parent
25f0cca2c0
commit
38621aa429
4 changed files with 49 additions and 90 deletions
28
hedgedoc/docker-compose.yml
Normal file
28
hedgedoc/docker-compose.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
database:
|
||||
image: postgres:13.4-alpine
|
||||
environment:
|
||||
- POSTGRES_USER=<redacted>
|
||||
- POSTGRES_PASSWORD=<redacted>
|
||||
- POSTGRES_DB=hedgedoc
|
||||
volumes:
|
||||
- database:/var/lib/postgresql/data
|
||||
restart: always
|
||||
app:
|
||||
# Make sure to use the latest release from https://hedgedoc.org/latest-release
|
||||
image: quay.io/hedgedoc/hedgedoc:1.9.7-alpine
|
||||
env_file:
|
||||
- app_env.env
|
||||
volumes:
|
||||
- ./uploads:/hedgedoc/public/uploads
|
||||
- ./lets-encrypt-r3.pem:/hedgedoc/lets-encrypt-r3.pem
|
||||
ports:
|
||||
- "3000:3000"
|
||||
restart: always
|
||||
depends_on:
|
||||
- database
|
||||
volumes:
|
||||
database:
|
||||
uploads:
|
||||
Loading…
Add table
Add a link
Reference in a new issue