<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Docker nginx куда класть сайт]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=40619&amp;type=atom" />
	<updated>2021-03-19T12:45:51Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=40619</id>
		<entry>
			<title type="html"><![CDATA[Docker nginx куда класть сайт]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=468678#p468678" />
			<content type="html"><![CDATA[<p>Имеются виртуалки KVM. На них запущен Dokcer Swarm.<br />Создал сервис<br />sudo docker service create --name mynginx -p 80:80 --mode global nginx<br />Вопрос. Куда класть файлы сайта или где лежит index.html?<br />Или нужно создавать compos файл с прописанными путями типа:<br />....<br />volumes:<br />- &quot;/srv/www/htdocs/:/srv/www/htdocs/&quot;<br />......<br />и заливать на хост в /srv/www/htdocs/ ?</p>]]></content>
			<author>
				<name><![CDATA[sangraf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35564</uri>
			</author>
			<updated>2021-03-19T12:45:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=468678#p468678</id>
		</entry>
</feed>
