services: # Runs dev env for the site server: image: remark42-site:dev build: dockerfile: Dockerfile.dev context: . logging: driver: json-file options: max-size: '10m' max-file: '5' # without this the bind mount below leaves root-owned public/ and resources/ # in the checkout on linux; docker desktop remaps ownership and hides it user: '${UID:-1000}:${GID:-1000}' ports: - '1313:1313' volumes: - ./:/site