mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Fixing mongo permissions in ansible.
This commit is contained in:
parent
97d1e12ad3
commit
beb91f0a10
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
vars_files:
|
vars_files:
|
||||||
- env_vars/base.yml
|
- env_vars/base.yml
|
||||||
vars:
|
vars:
|
||||||
- update_apt_cache: yes
|
update_apt_cache: yes
|
||||||
roles:
|
roles:
|
||||||
- {role: 'base', tags: 'base'}
|
- {role: 'base', tags: 'base'}
|
||||||
- {role: 'ufw', tags: 'ufw'}
|
- {role: 'ufw', tags: 'ufw'}
|
||||||
|
|
|
@ -218,7 +218,7 @@
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
command: --config /etc/mongod.conf
|
command: --config /etc/mongod.conf
|
||||||
user: 1000:1001
|
user: "{{ ansible_effective_user_id|int }}:{{ ansible_effective_group_id|int }}"
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/newsblur/docker/volumes/mongo:/data/db
|
- /srv/newsblur/docker/volumes/mongo:/data/db
|
||||||
- /srv/newsblur/ansible/roles/mongo/templates/mongo.analytics.conf:/etc/mongod.conf
|
- /srv/newsblur/ansible/roles/mongo/templates/mongo.analytics.conf:/etc/mongod.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue