Go through this frappe_docker/setup-options.md at main · frappe/frappe_docker · GitHub
Once you’ve setup the environment variables run the following command
# Generate YAML
docker-compose --project-name <project-name> -f compose.yaml \
-f overrides/compose.erpnext.yaml \
-f overrides/compose.mariadb.yaml \
-f overrides/compose.redis.yaml \
-f overrides/compose.noproxy.yaml \
config > ~/gitops/docker-compose.yml
# Start containers
docker-compose --project-name <project-name> -f ~/gitops/docker-compose.yml up -d
Once all containers are up and running create the first site:
docker-compose --project-name <project-name> exec backend bench new-site <site-name> --mariadb-root-password <db-password> --admin-password <admin-password>
if the site is going to be used locally create site ending with .localhost