1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 06:18:07 +00:00

create hedgedoc

This commit is contained in:
Nebel 2022-04-13 10:15:09 +09:00
parent 8ce7e9229b
commit 659934fe3d
2 changed files with 25 additions and 0 deletions

1
hedgedoc/.env Normal file
View file

@ -0,0 +1 @@
POSTGRES_PASSWORD=84wB5pZH3u4ZCRYyMDiJP_hKcXWUGfSMU9H-fG9dKK0

24
hedgedoc/compose.yml Normal file
View file

@ -0,0 +1,24 @@
services:
app:
image: quay.io/hedgedoc/hedgedoc:1.9.3
environment:
CMD_DB_URL: postgresql://postgres:${POSTGRES_PASSWORD}@db/postgres
CMD_DOMAIN: localhost:3000
CMD_ALLOW_FREEURL: "true"
volumes:
- hedgedoc_data:/hedgedoc/public
ports: ["3000:3000"]
depends_on:
db:
condition: service_healthy
db:
image: postgres:14-alpine
healthcheck:
test: pg_isready -U postgres
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres_data_v14:/var/lib/postgresql/data
volumes:
hedgedoc_data:
postgres_data_v14: