change hedgedoc container names

closes #24
This commit is contained in:
Pim Kunis 2023-04-16 12:21:10 +02:00
parent aa0987593e
commit 72d07aac36

View file

@ -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 }}