generated from nathanwoodburn/python-webserver-template
feat: Initial code
This commit is contained in:
15
docker_agent/docker-compose.yml
Normal file
15
docker_agent/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user