docker-socket-proxy

# docker-compose file to start up tecnativa/docker-socket-proxy
# to start the container run:
#    docker-compose up -d
#
# Note2: docker container name is sourced from the .env file in this directory.
#
# Note3: containrrr/watchtower service will auto update this container

name: docker-socket-proxy-localhost

services:
  docker-socket-proxy:
    image: tecnativa/docker-socket-proxy
    container_name: docker-socket-proxy.localhost
    restart: always

    ports:
      - 127.0.0.1:2375:2375

    mem_limit: 64M

    environment:
      CONTAINERS: 1

    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

    labels:
      - com.centurylinklabs.watchtower.enable=true