parent
aa0987593e
commit
72d07aac36
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ networks:
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: postgres:13.4-alpine
|
image: postgres:13.4-alpine
|
||||||
|
container_name: hedgedoc-database
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=hedgedoc
|
- POSTGRES_USER=hedgedoc
|
||||||
- POSTGRES_PASSWORD=password
|
- POSTGRES_PASSWORD=password
|
||||||
|
@ -18,8 +19,10 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: quay.io/hedgedoc/hedgedoc:1.9.7
|
image: quay.io/hedgedoc/hedgedoc:1.9.7
|
||||||
|
container_name: hedgedoc
|
||||||
environment:
|
environment:
|
||||||
- CMD_DB_URL=postgres://hedgedoc:password@database:5432/hedgedoc
|
- CMD_DB_URL=postgres://hedgedoc:password@database:5432/hedgedoc
|
||||||
- CMD_DOMAIN={{ hedgedoc_domain }}
|
- CMD_DOMAIN={{ hedgedoc_domain }}
|
||||||
|
|
Reference in a new issue