# This file is not meant to be modified, use the following files instead: # - `.env`: Environment variables available within Docker Compose config files. # - `db.env`: Environment variables for the database service. # - `nopaque.env`: Environment variables for the nopaque service. # - `docker-compose.override.yml`: Override the docker-compose.yml file. # - The `docker-compose` directory includes examples for this. networks: nopaque: attachable: true driver: "overlay" name: "${NOPAQUE_DOCKER_NETWORK_NAME}" services: db: env_file: "db.env" image: "postgres:11" networks: - "nopaque" restart: "unless-stopped" volumes: - "./volumes/db/data:/var/lib/postgresql/data" mq: image: "redis:6" networks: - "nopaque" restart: "unless-stopped" volumes: - "./volumes/mq/data:/data" nopaque: build: . depends_on: - "db" - "mq" env_file: - "nopaque.env" environment: # DANGER: Don't change the following environment variables within a # Docker Compose config file, use the `.env` file instead. HOST_UID: "${HOST_UID}" HOST_GID: "${HOST_GID}" HOST_DOCKER_GID: "${HOST_DOCKER_GID}" NOPAQUE_DATA_PATH: "${HOST_NOPAQUE_DATA_PATH}" NOPAQUE_DOCKER_NETWORK_NAME: "${NOPAQUE_DOCKER_NETWORK_NAME}" image: "nopaque:latest" networks: - "nopaque" restart: "unless-stopped" volumes: - "/var/run/docker.sock:/var/run/docker.sock" # DANGER: Don't change the following mount within a Docker Compose # config file, use the `.env` file instead. - "${HOST_NOPAQUE_DATA_PATH}:${HOST_NOPAQUE_DATA_PATH}"