mailcow-dockerized-docs/docs/manual-guides/Docker/u_e-docker-cust_dockerfiles.en.md
Niklas Meyer 5c1c263e46 Revert "Compose v2"
This reverts commit 423f24f6f2.
2022-06-01 15:39:27 +02:00

478 B

You need to copy the override file with corresponding build tags to the mailcow: dockerized root folder (i.e. /opt/mailcow-dockerized):

cp helper-scripts/docker-compose.override.yml.d/BUILD_FLAGS/docker-compose.override.yml docker-compose.override.yml

Make your changes in data/Dockerfiles/$service and build the image locally:

docker build data/Dockerfiles/service -t mailcow/$service

Now auto-recreate modified containers:

docker-compose up -d