version: "3.8" services: app: build: context: . dockerfile: Dockerfile restart: always expose: - "3000" environment: - QUERY_LOG_PATH=/var/log/brunorag/queries.log volumes: - ./logs:/var/log/brunorag nginx: build: context: . dockerfile: Dockerfile.nginx restart: always ports: - "80:80" - "443:443" volumes: - ./certbot-conf:/etc/letsencrypt:ro - ./certbot-www:/var/www/certbot:ro depends_on: - app certbot: image: certbot/certbot volumes: - ./certbot-conf:/etc/letsencrypt - ./certbot-www:/var/www/certbot