2 Commits

Author SHA1 Message Date
b4f726def5 chore(release): 2.0.1 2022-12-11 02:18:45 +01:00
83d3e45c05 fix: Fix template and rights. 2022-12-11 02:18:36 +01:00
5 changed files with 29 additions and 9 deletions

View File

@@ -2,6 +2,13 @@
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.
### [2.0.1](https://git.laurivan.com/Dev/ansible-role-outline-wiki/compare/v2.0.0...v2.0.1) (2022-12-11)
### Bug Fixes
* Fix template and rights. ([83d3e45](https://git.laurivan.com/Dev/ansible-role-outline-wiki/commit/83d3e45c05c096506430fd9e2568787c8a793a25))
## [2.0.0](https://git.laurivan.com/Dev/ansible-role-outline-wiki/compare/v1.0.0...v2.0.0) (2022-12-10)

View File

@@ -7,7 +7,8 @@ outline_utils_secret: 'changeme'
outline_deployment: ''
outline_port: 3000
outline_url: "http://localhost:{{ outline_port }}"
outline_public_port: "{{ outline_port }}"
outline_url: "http://localhost:{{ outline_public_port }}"
outline_force_https: "false"
outline_enable_updates: "false"
outline_cdn_url:

View File

@@ -23,9 +23,19 @@
with_items:
- "{{ outline_setup_path | expanduser | realpath }}"
- "{{ outline_volume_redis | expanduser | realpath }}"
- "{{ outline_volume_db | expanduser | realpath }}"
- "{{ outline_volume_s3 | expanduser | realpath }}"
tags:
- configuration
become: true
- name: Set up the database directory.
ansible.builtin.file:
state: directory
path: "{{ item }}"
mode: "0755"
owner: 70
with_items:
- "{{ outline_volume_db | expanduser | realpath }}"
tags:
- configuration
become: true

View File

@@ -58,8 +58,8 @@ services:
outline:
image: outlinewiki/outline:latest
command: sh -c "yarn start"
# command: sh -c "yarn sequelize:migrate --env production-ssl-disabled && yarn start"
#command: sh -c "yarn start"
command: sh -c "yarn sequelize:migrate --env production-ssl-disabled && yarn start"
env_file:
- "{{ outline_setup_path | expanduser | realpath }}/env.outline.conf"
- "{{ outline_setup_path | expanduser | realpath }}/env.oidc.conf"
@@ -79,4 +79,3 @@ services:
networks:
outline: {}

View File

@@ -8,13 +8,19 @@ UTILS_SECRET={{ outline_utils_secret }}
DEPLOYMENT={{ outline_deployment }}
{% if outline_db_schema == 'postgres' and outline_db_host == 'postgres' %}
DATABASE_URL=postgres://{{ outline_db_user }}:{{ outline_db_password }}@postgres:5432/{{ outline_db }}
{% else %}
DATABASE_URL={{ outline_db_schema }}://{{ outline_db_user }}:{{ outline_db_password }}@{{outline_db_host}}:{{ outline_db_port }}/{{ outline_db }}
{% endif %}
DATABASE_URL_TEST={{ outline_db_schema }}://{{ outline_db_user }}:{{ outline_db_password }}@{{outline_db_host}}:{{ outline_db_port }}/{{ outline_db }}_test
REDIS_URL=redis://redis:6379
# Must point to the publicly accessible URL for the installation
URL={{ outline_url }}
PORT=3000
{% if outline_public_port %}
PORT={{ outline_public_port }}
{% endif %}
# Optional. If using a Cloudfront distribution or similar the origin server
# should be set to the same as URL.
@@ -89,6 +95,3 @@ DEFAULT_LANGUAGE={{ outline_language }}
{% if outline_db_ssl %}
PGSSLMODE={{ outline_db_ssl }}
{% endif %}