Added motioneye
This commit is contained in:
22
motioneye/docker-compose.yml
Normal file
22
motioneye/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: "3.5"
|
||||
services:
|
||||
motioneye:
|
||||
image: ccrisan/motioneye:master-armhf
|
||||
container_name: motioneye
|
||||
networks:
|
||||
- motioneye
|
||||
expose:
|
||||
- "8081"
|
||||
- "8765"
|
||||
volumes:
|
||||
- etc_motioneye:/etc/motioneye
|
||||
- var_lib_motioneye:/var/lib/motioneye
|
||||
|
||||
volumes:
|
||||
etc_motioneye:
|
||||
var_lib_motioneye:
|
||||
|
||||
networks:
|
||||
motioneye:
|
||||
external:
|
||||
name: motioneye
|
||||
@@ -54,6 +54,20 @@ access_log /var/log/nginx/gitea-access.log combined;
|
||||
error_log /var/log/nginx/gitea-error.log error;
|
||||
}
|
||||
|
||||
# Motioneye config
|
||||
server {
|
||||
listen 80;
|
||||
server_name eye.colindiem.com;
|
||||
|
||||
location / {
|
||||
include /etc/nginx/includes/proxy.conf;
|
||||
proxy_pass http://motioneye:8765;
|
||||
}
|
||||
|
||||
access_log /var/log/nginx/motioneye-access.log combined;
|
||||
error_log /var/log/nginx/motioneye-error.log error;
|
||||
}
|
||||
|
||||
# Default
|
||||
server {
|
||||
listen 80 default_server;
|
||||
|
||||
@@ -7,6 +7,7 @@ services:
|
||||
- blog
|
||||
- bitwarden
|
||||
- gitea
|
||||
- motioneye
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
@@ -21,3 +22,6 @@ networks:
|
||||
gitea:
|
||||
external:
|
||||
name: gitea
|
||||
motioneye:
|
||||
external:
|
||||
name: motioneye
|
||||
Reference in New Issue
Block a user