diff --git a/ansible/roles/hedgedoc/templates/docker-compose.yml.j2 b/ansible/roles/hedgedoc/templates/docker-compose.yml.j2 index bc7f6f5..2926b4a 100644 --- a/ansible/roles/hedgedoc/templates/docker-compose.yml.j2 +++ b/ansible/roles/hedgedoc/templates/docker-compose.yml.j2 @@ -9,6 +9,7 @@ networks: services: database: image: postgres:13.4-alpine + container_name: hedgedoc-database environment: - POSTGRES_USER=hedgedoc - POSTGRES_PASSWORD=password @@ -18,8 +19,10 @@ services: restart: always networks: - internal + app: image: quay.io/hedgedoc/hedgedoc:1.9.7 + container_name: hedgedoc environment: - CMD_DB_URL=postgres://hedgedoc:password@database:5432/hedgedoc - CMD_DOMAIN={{ hedgedoc_domain }}