# ATTENTION: Do NOT use this file in public or production scenarios! It may contain insecure or unstable configuration. services: connector: container_name: connector image: ghcr.io/nmshd/connector: # specify a tag (e.g. 1.0.0) or use the 'latest' tag environment: CUSTOM_CONFIG_LOCATION: "/config.json" ports: - :80 # define the port the connector should listen to on the host volumes: - /config.json:/config.json:ro # - :/var/log/enmeshed-connector # select an existing directory of your choice where your log files should be saved depends_on: - mongodb restart: on-failure mongodb: container_name: mongodb image: mongo environment: MONGO_INITDB_ROOT_USERNAME: MONGO_INITDB_ROOT_PASSWORD: volumes: - mongodb_data:/data/db restart: on-failure volumes: mongodb_data: