mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
create hedgedoc
This commit is contained in:
parent
8ce7e9229b
commit
659934fe3d
2 changed files with 25 additions and 0 deletions
1
hedgedoc/.env
Normal file
1
hedgedoc/.env
Normal file
|
@ -0,0 +1 @@
|
||||||
|
POSTGRES_PASSWORD=84wB5pZH3u4ZCRYyMDiJP_hKcXWUGfSMU9H-fG9dKK0
|
24
hedgedoc/compose.yml
Normal file
24
hedgedoc/compose.yml
Normal 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:
|
Loading…
Add table
Reference in a new issue