Compare commits

..

No commits in common. "8ecc7bfbb64d791b9593f0e2caecf4f3a9f03618" and "5f997b1c093e4372fda019c16574ad643c30ce27" have entirely different histories.

View File

@ -1,11 +1,8 @@
# vim:ft=ansible:
- name: deploy netbox
module_defaults:
- name: docker deploy netbox
docker_container:
name: netbox
image: netboxcommunity/netbox:v3.0.2
state: started
restart_policy: unless-stopped
pull: yes
user: 101
env:
SUPERUSER_EMAIL: rehashedsalt@cock.li
@ -23,22 +20,5 @@
- name: web
aliases: [ "netbox" ]
volumes:
- /data/netbox/media:/opt/netbox/netbox/media:z
block:
- name: docker deploy netbox
docker_container:
name: netbox
tags: [ docker, netbox ]
- name: docker deploy netbox worker
docker_container:
name: netbox-worker-1
command:
- /opt/netbox/venv/bin/python
- /opt/netbox/netbox/manage.py
- rqworker
tags: [ docker, netbox ]
- name: docker deploy netbox housekeeping
docker_container:
name: netbox-housekeeping
command: /opt/netbox/housekeeping.sh
- /data/netbox/config:/config
tags: [ docker, netbox ]