docker-compose.yaml
file and then use a single command to start everything.
docker compose
may not work in older versions of Docker.
If you are using an older version, replace with docker-compose
.docker-compose.yml
file with the following content:
.env
file in the same directory with the following minimal content:
docker-compose.yml
file and run the following command to start the services defined in the file:
docker compose up
command, you can check the logs to confirm that the services are running correctly:
/etc/hosts
file to add the new name:/etc/hosts
file to add the new name:traefik.yaml
file: