Hey @Proto!
Now that you mention it, I should have done it a little more explicit. Let me explain a little better
- sed -i -e "s|<filename>|/opt/yams/docker-compose.yaml|g" yams
You need to replace /opt/yams/docker-compose.yaml
with the location of your docker-compose
file. If you used the default install location when you set up YAMS, then the command is ready to use. You can confirm this by running:
And you should get some output. If you see something similar to this file then you can use the same command!
If you installed YAMS in another install location, then you should replace it with that.
Example: If you installed YAMS in /home/proto/yams
, then your docker-compose
file is in /home/proto/yams/docker-compose.yaml
, so your command would look like this:
Code: Select all
sed -i -e "s|<filename>|/home/proto/yams/docker-compose.yaml|g" yams
- sed -i -e "s|<custom_file_filename>|/opt/yams/docker-compose.custom.yaml|g" yams
This one is a little different. Since docker-compose.custom.yaml
doesn't exist yet on the install location, you can't confirm with curl
like before.
So again, if you installed YAMS in the default install location, then the command should be ready to go! If not, you need to replace only the /opt/yams/
part with your correct install location.
Example: If you installed YAMS in /home/proto/yams
, then you need to replace /opt/yams/
with /home/proto/yams/
, so the command would look like this:
Code: Select all
sed -i -e "s|<custom_file_filename>|/home/proto/yams/docker-compose.custom.yaml|g" yams
- sed -i -e "s|<install_location>|/opt/yams|g" yams
This one is more straightforward. Again, if you installed YAMS in the default install location, then the command should be ready to go! If not, you need to replace /opt/yams/
with your correct install location.
Example: If you installed YAMS in /home/proto/yams
, then you need to replace /opt/yams
with /home/proto/yams/
, so the command would look like this:
Code: Select all
sed -i -e "s|<install_location>|/home/proto/yams|g" yams
And that's it! If you have any other question, let me know!