1
0

Обновлена конфигурация

This commit is contained in:
Anton Vakhrushev 2019-06-27 22:43:01 +03:00
parent 2bfcd35efd
commit 7e1cb26f5c
3 changed files with 12 additions and 2 deletions

View File

@ -73,7 +73,7 @@
PROJECT_NAME: notes PROJECT_NAME: notes
IMAGE_PREFIX: notes IMAGE_PREFIX: notes
CONTAINER_PREFIX: notes CONTAINER_PREFIX: notes
WEB_SERVER_PORT: 41080 WEB_SERVER_PORT: 127.0.0.1:41080
DATA_DIR: /home/notes/app/data DATA_DIR: /home/notes/app/data
CACHE_DIR: /home/notes/app/cache CACHE_DIR: /home/notes/app/cache
APP_ENV: prod APP_ENV: prod

View File

@ -23,7 +23,7 @@
key: '{{ item }}' key: '{{ item }}'
state: present state: present
with_items: '{{ owner_ssh_keys }}' with_items: '{{ owner_ssh_keys }}'
when: owner_ssh_keys | bool when: owner_ssh_keys | length > 0
- name: 'Prepare env variables.' - name: 'Prepare env variables.'
set_fact: set_fact:

View File

@ -19,3 +19,13 @@ homepage.vakhrushev.me, vakhrushev.me {
404 404/index.html 404 404/index.html
} }
} }
# Notes app
notes.vakhrushev.me {
proxy / 127.0.0.1:41080 {
transparent
}
tls anwinged@ya.ru
basicauth / anton show-me-the-notes
}