mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +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:
|
||||
- env_vars/base.yml
|
||||
vars:
|
||||
- update_apt_cache: yes
|
||||
update_apt_cache: yes
|
||||
roles:
|
||||
- {role: 'base', tags: 'base'}
|
||||
- {role: 'ufw', tags: 'ufw'}
|
||||
|
|
|
@ -218,7 +218,7 @@
|
|||
ports:
|
||||
- "27017:27017"
|
||||
command: --config /etc/mongod.conf
|
||||
user: 1000:1001
|
||||
user: "{{ ansible_effective_user_id|int }}:{{ ansible_effective_group_id|int }}"
|
||||
volumes:
|
||||
- /srv/newsblur/docker/volumes/mongo:/data/db
|
||||
- /srv/newsblur/ansible/roles/mongo/templates/mongo.analytics.conf:/etc/mongod.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue