Closed Kubilai12 closed 5 years ago
Hello @Kubilai12,
Please make sure you update the service name as of the readme instructions:
[IMPORTANT] Make sure to update your services name for each application so it does not conflicts with another service, such as, in the docker_compose.yml where we have db you could use site1-db, and wordpress you could use site1-wordpress. Update this to site2 when you put up a new site.
ok so i need to make change on docker_compose.yml not only on .ENV file
it s ok i do but when i create i have this:
WARNING: Found orphan containers (my first creation container) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Is it important ?
You must do a docker-compose down
on your services before you change the file otherwise you will have the initial containers running on the system... besides that this message will be shown for other services as well, don´t worry about it, just make sure you clean up things in your host.
and if i do already what happens after ? cause i build my other website can i have a trouble ? Can i let this situation ?
you can just leave it with this message... don´t bother. You will be fine with it. It´s not orphan in fact is your other services. So, you are cool with it.
Ok thanks so much evert for you work and you re answer
Hi
when i use docker-comose up for make a second website with wordpress i change all the variable on .ENV file Container name, path and domain.
it s say "recreating myfirstname container" destroy my frist container and build new with new name that ??
someone have same ?