version: "3.7" services: moodle: build: context: ../moodle dockerfile: dockerfile tty: true image: moodle container_name: moodle volumes: - moodle-data:/var/moodledata - moodle-html:/var/www/html ports: - "90:80" - "9443:443" restart: unless-stopped volumes: moodle-data: external: true moodle-html: external: true networks: default: name: exam-net external: true driver: bridge