fix: deploy works
This commit is contained in:
parent
7ab2b719dc
commit
e2798b77d1
3 changed files with 7 additions and 1 deletions
|
|
@ -137,6 +137,7 @@ traefik_custom_ca_verify_ssl: false
|
|||
netbox_docker_compose_overrides:
|
||||
services:
|
||||
netbox:
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.netbox.rule=Host(`{{ netbox_domain }}`)"
|
||||
|
|
@ -146,19 +147,23 @@ netbox_docker_compose_overrides:
|
|||
- "traefik"
|
||||
- "netbox"
|
||||
netbox-worker:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- "netbox"
|
||||
postgres:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- "netbox"
|
||||
volumes:
|
||||
- "{{ netbox_data_dir }}/postgres:/var/lib/postgresql/data"
|
||||
redis:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- "netbox"
|
||||
volumes:
|
||||
- "{{ netbox_data_dir }}/redis:/data"
|
||||
redis-cache:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- "netbox"
|
||||
volumes:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
|
||||
pre_tasks:
|
||||
- name: Include vault variables
|
||||
include_vars: ../inventory/group_vars/netbox_servers_vault
|
||||
include_vars:
|
||||
dir: ../inventory/group_vars
|
||||
|
||||
- name: Verify Ubuntu distribution
|
||||
fail:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue