Emily CLI Documentation
Release-v3.0.4Emily combines the powers of Python and Docker to build stable and consistent machine learning and datascience python environments. Emily is useful for large cross-team project development as well as for simply running a single jupyter notebook or python script.
Downloademily@v3.0.4See earlier versions
buildopenenvironmentconfigurationserversdeploymentdeploylistmountunmountstopdroploginlogoutdoctorupdatewhoamitelemetryloguninstallinstall
$ emily configuration add compose [options]Add a basic Docker Compose configuration to your project.
$ configuration add composeChoose a project| AB82JD - movie-recommender>> Please enter the configuration name: >> Please choose a Docker Compose configuration| HTTPS reverse proxy (Nginx)| External network>> Docker Compose base configuration
The emily configuration add compose command adds the base Docker Compose configuration to your project.
The prompt for Docker Compose configuration type, pass --silent to the command.
The base configuration is the basic docker-compose.emily.yml that Emily automatically creates when building a project.
It specifies the following:
- Host/container port mapping
- Location of the Dockerfile and build context
- Provisions the auto-generated
.envfile to the project container - GPU-specific environment variable substitutions
- Project-specific network
version: "3" services: emily-my-project-m9vhkd: image: emily-my-project-m9vhkd container_name: emily-my-project-m9vhkd build: context: ../../ dockerfile: ./Dockerfile env_file: - ./.env ports: - ${HOST_PORT}:${CONTAINER_PORT} ipc: ${IPC} runtime: ${RUNTIME} networks: - emily-my-project-m9vhkd-network networks: emily-my-project-m9vhkd-network: driver: bridge name: emily-my-project-m9vhkd-network