version: "3" services: exzork_booklist_api: container_name: exzork_booklist_api build: context: ./ dockerfile: Dockerfile restart: always expose: - 80 - 443 links: - mysql depends_on: - mysql volumes: - /var/www/vendor - ./:/var/www:rw - ./storage:/var/www/storage:rw - ./public:/var/www/html:rw environment: - VIRTUAL_HOST=booklist-api.exzork.me - LETSENCRYPT_HOST=booklist-api.exzork.me - LETSENCRYPT_EMAIL=muhammadeko.if@gmail.com networks: default : name: nginx-proxy