3 Commits

Author SHA1 Message Date
19a992cefe chore(release): 2.0.0 2022-12-11 00:56:03 +01:00
310649b973 fix!: Make paths absolute.
Breaking change!
2022-12-11 00:55:45 +01:00
79e1a31074 chore: Update changelog. 2022-12-10 01:15:43 +01:00
3 changed files with 23 additions and 13 deletions

View File

@@ -2,9 +2,19 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## 1.0.0 (2022-12-10)
## [2.0.0](https://git.laurivan.com/Dev/ansible-role-outline-wiki/compare/v1.0.0...v2.0.0) (2022-12-10)
### ⚠ BREAKING CHANGES
* Make paths absolute.
### Bug Fixes
* Make paths absolute. ([310649b](https://git.laurivan.com/Dev/ansible-role-outline-wiki/commit/310649b9735822eee4f962bbb3f9207c33989f89))
## 1.0.0 (2022-12-10)
### Bug Fixes
* AWS variable, fake S3 condition. ([8b84af0](https://git.laurivan.com/Dev/ansible-role-outline-wiki/commit/8b84af081fc8ec7a63ce139409c3fbd546ae1478))

View File

@@ -21,10 +21,10 @@
group: "{% if outline_gid %}{{ outline_gid }}{% else %}{{ ansible_effective_group_id }}{% endif %}"
mode: "0750"
with_items:
- "{{ outline_setup_path }}"
- "{{ outline_volume_redis }}"
- "{{ outline_volume_db }}"
- "{{ outline_volume_s3 }}"
- "{{ outline_setup_path | expanduser | realpath }}"
- "{{ outline_volume_redis | expanduser | realpath }}"
- "{{ outline_volume_db | expanduser | realpath }}"
- "{{ outline_volume_s3 | expanduser | realpath }}"
tags:
- configuration
@@ -33,7 +33,7 @@
- name: Write configuration files
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "{{ outline_setup_path }}/{{ item }}"
dest: "{{ outline_setup_path | expanduser | realpath }}/{{ item }}"
mode: '0640'
loop:
- "docker-compose.yml"
@@ -47,6 +47,6 @@
- name: Ensure all requested components are running.
community.docker.docker_compose:
project_src: "{{ outline_setup_path }}"
project_src: "{{ outline_setup_path | expanduser | realpath }}"
build: false
become: false

View File

@@ -13,7 +13,7 @@ services:
networks:
- outline
volumes:
- {{ outline_volume_redis }}:/data
- {{ outline_volume_redis | expanduser | realpath }}:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
@@ -21,7 +21,7 @@ services:
postgres:
image: docker.io/library/postgres:12-alpine
env_file:
- "{{ outline_setup_path }}/env.db.conf"
- "{{ outline_setup_path | expanduser | realpath }}/env.db.conf"
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
@@ -45,13 +45,13 @@ services:
s3:
image: lphoward/fake-s3
env_file:
- "{{ outline_setup_path }}/env.s3.conf"
- "{{ outline_setup_path | expanduser | realpath }}/env.s3.conf"
{% if outline_fake_s3_port %}
ports:
- {{ outline_fake_s3_port }}:4569
{% endif %}
volumes:
- {{ outline_volume_s3 }}:/fakes3_root
- {{ outline_volume_s3 | expanduser | realpath }}:/fakes3_root
networks:
- outline
{% endif %}
@@ -61,8 +61,8 @@ services:
command: sh -c "yarn start"
# command: sh -c "yarn sequelize:migrate --env production-ssl-disabled && yarn start"
env_file:
- "{{ outline_setup_path }}/env.outline.conf"
- "{{ outline_setup_path }}/env.oidc.conf"
- "{{ outline_setup_path | expanduser | realpath }}/env.outline.conf"
- "{{ outline_setup_path | expanduser | realpath }}/env.oidc.conf"
restart: always
ports:
- {{ outline_port }}:3000