Add famhistweb/docker-compose.yml
This commit is contained in:
26
famhistweb/docker-compose.yml
Normal file
26
famhistweb/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
famhistweb:
|
||||
image: httpd:latest
|
||||
container_name: apache2
|
||||
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=john,password=mary1948"
|
||||
device: "//192.168.1.7/FamilyWebSite/" # share on VALHALLA
|
||||
|
||||
networks:
|
||||
caddy_net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user