version: '3.5' volumes: redis-trash1: services: web: build: args: GID: ${GID} UID: ${UID} context: ./web depends_on: - db - redis env_file: .env image: nopaque/web volumes: - "./logs:/home/nopaque/logs" - "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}" daemon: build: args: DOCKER_GID: ${DOCKER_GID} GID: ${GID} UID: ${UID} context: ./daemon depends_on: - db - web env_file: .env image: nopaque/daemon volumes: - "/var/run/docker.sock:/var/run/docker.sock" - "./logs:/home/nopaqued/logs" - "${NOPAQUE_STORAGE}:${NOPAQUE_STORAGE}" db: env_file: .env image: postgres:11 volumes: - "/srv/nopaque/db:/var/lib/postgresql/data" redis: image: redis:6 volumes: - "redis-trash1:/data"