mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 22:20:12 +00:00
Adding beta subdomain. Adding /etc/hosts for compatibility with existing hosts.
This commit is contained in:
parent
e6d6667099
commit
2ee9f32e0a
5 changed files with 12 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
when: "'elasticsearch' in group_names"
|
||||
- import_playbook: setup_task.yml
|
||||
when: "'task' in group_names"
|
||||
- import_playbook: setup_debug.yml
|
||||
when: "'debugs' in group_names"
|
||||
# - import_playbook: setup_debug.yml
|
||||
# when: "'debugs' in group_names"
|
||||
- import_playbook: setup_consul_manager.yml
|
||||
when: "'consul' in group_names"
|
||||
|
|
|
@ -43,7 +43,7 @@ alias cd..='cd ..'
|
|||
|
||||
alias smtp='python -m smtpd -n -c DebuggingServer 127.0.0.1:1025'
|
||||
alias tlnb='echo "----------------\n"; tail -f /srv/newsblur/logs/newsblur.log'
|
||||
alias sp='/srv/newsblur/manage.py shell_plus --use-pythonrc'
|
||||
alias sp='sudo docker exec -it newsblur_web python manage.py shell_plus'
|
||||
alias cdnb='cd /srv/newsblur'
|
||||
alias sshdo=/srv/newsblur/utils/ssh.sh
|
||||
|
||||
|
|
|
@ -50,3 +50,10 @@
|
|||
owner: "{{ ansible_effective_user_id|int }}"
|
||||
group: "{{ ansible_effective_group_id|int }}"
|
||||
recurse: yes
|
||||
|
||||
- name: Copy /etc/hosts from old installation (remove when upgraded)
|
||||
become: yes
|
||||
copy:
|
||||
src: /srv/secrets-newsblur/configs/hosts
|
||||
dest: /etc/hosts
|
||||
tags: hosts
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
restart_policy: unless-stopped
|
||||
volumes:
|
||||
- /srv/newsblur:/srv/newsblur
|
||||
- /etc/hosts:/etc/hosts
|
||||
|
||||
- name: Register web app in consul
|
||||
tags: consul
|
||||
|
|
|
@ -69,6 +69,7 @@ BANNED_URLS = [
|
|||
ALLOWED_SUBDOMAINS = [
|
||||
'dev',
|
||||
'www',
|
||||
'beta',
|
||||
'debug',
|
||||
'debug3',
|
||||
'nb',
|
||||
|
|
Loading…
Add table
Reference in a new issue