mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-22 08:16:54 +00:00
48 lines
850 B
YAML
48 lines
850 B
YAML
|
|
x-netbox-image: &netbox_image netboxplugins:local
|
|
|
|
services:
|
|
netbox:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile-plugins
|
|
args:
|
|
FROM_TAG: v4.4-3
|
|
image: *netbox_image
|
|
pull_policy: never
|
|
ports:
|
|
- "8000:8080"
|
|
restart: unless-stopped
|
|
|
|
netbox-worker:
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
postgres:
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "20m"
|
|
max-file: "5"
|
|
|
|
redis:
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "20m"
|
|
max-file: "5"
|
|
|
|
redis-cache:
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "20m"
|
|
max-file: "5"
|