Add nextfamhistweb/docker-compose.yml
This commit is contained in:
25
nextfamhistweb/docker-compose.yml
Normal file
25
nextfamhistweb/docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
services:
|
||||||
|
nextfamhistweb:
|
||||||
|
image: httpd:latest
|
||||||
|
deploy:
|
||||||
|
# placement:
|
||||||
|
# constraints: [node.role == worker]
|
||||||
|
replicas: 1
|
||||||
|
restart: on-failure
|
||||||
|
ports:
|
||||||
|
- 8888:80
|
||||||
|
volumes:
|
||||||
|
- nas-share:/usr/local/apache2/htdocs
|
||||||
|
networks:
|
||||||
|
- caddy_net
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
nas-share:
|
||||||
|
driver_opts:
|
||||||
|
type: cifs
|
||||||
|
o: "username=admin,password=Gerald1927"
|
||||||
|
device: "//192.168.1.7/TestFamilyWebSite/"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy_net:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user