generated from nathanwoodburn/python-webserver-template
16 lines
397 B
YAML
16 lines
397 B
YAML
services:
|
|
docker-inventory-agent:
|
|
build: .
|
|
container_name: docker-inventory-agent
|
|
restart: unless-stopped
|
|
environment:
|
|
AGENT_TOKEN: change-me
|
|
DOCKER_HOST: unix:///var/run/docker.sock
|
|
NGINX_CONFIG_DIR: /mnt/nginx
|
|
PORT: "9090"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- /etc/nginx:/mnt/nginx:ro
|
|
ports:
|
|
- "9090:9090"
|