Compare commits

..

3 Commits

Author SHA1 Message Date
borgal
5bffce8c5c Wireshark hinzugefügt 2023-05-05 20:34:40 +02:00
borgal
6175fa7a9d Photoview hinzugefügt 2023-05-05 20:34:01 +02:00
borgal
c395802df1 neue Version ohne DB 2023-05-05 19:52:11 +02:00
5 changed files with 96 additions and 36 deletions

View File

@@ -0,0 +1,62 @@
version: "3"
services:
db:
image: mariadb:10.5
container_name: photoview-db
restart: unless-stopped
environment:
- TZ=Europe/Berlin
- MYSQL_DATABASE=photoview
- MYSQL_USER=photoview
- MYSQL_PASSWORD=photosecret
- MYSQL_RANDOM_ROOT_PASSWORD=1
volumes:
- ./db_data:/var/lib/mysql
photoview:
image: viktorstrate/photoview:2.3.12
container_name: photoview-app
restart: unless-stopped
ports:
- "8012:80"
depends_on:
- db
environment:
- TZ=Europe/Berlin
- PHOTOVIEW_DATABASE_DRIVER=mysql
- PHOTOVIEW_MYSQL_URL=photoview:photosecret@tcp(db)/photoview
- PHOTOVIEW_LISTEN_IP=photoview
- PHOTOVIEW_LISTEN_PORT=80
- PHOTOVIEW_MEDIA_CACHE=/app/cache
- PHOTOVIEW_DISABLE_VIDEO_ENCODING=1
- PHOTOVIEW_DISABLE_RAW_PROCESSING=1
# Optional: If you are using Samba/CIFS-Share and experience problems with "directory not found"
# Enable the following Godebug
# - GODEBUG=asyncpreemptoff=1
# Optional: To enable map related features, you need to create a mapbox token.
# A token can be generated for free here https://account.mapbox.com/access-tokens/
# It's a good idea to limit the scope of the token to your own domain, to prevent others from using it.
- MAPBOX_TOKEN=pk.eyJ1IjoiYm9yZ2FsIiwiYSI6ImNsZnYxdGZiNTAyeXozbG83MHk5ZHVwZGUifQ.7HmlrT_LEAIyN1J_F0rzxA
volumes:
- ./api_cache:/app/cache
# Change This: to the directory where your photos are located on your server.
# If the photos are located at `/home/user/photos`, then change this value
# to the following: `/home/user/photos:/photos:ro`.
# You can mount multiple paths, if your photos are spread across multiple directories.
- Photos:/photos:ro
volumes:
Photos:
name: Photos
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.102,rw
device: ":/mnt/pool1/Multimedia/Digicam-Bilder"

15
proxy/docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
container_name: reverse-proxy
restart: unless-stopped
environment:
DISABLE_IPV6: 'true'
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt

View File

@@ -1,3 +0,0 @@
DB_PASSWORD=changeMe
MYSQL_ROOT_PASSWORD=changeMe

View File

@@ -1,33 +0,0 @@
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:2.9.21'
# image: 'jc21/nginx-proxy-manager:latest'
container_name: nginx_app
restart: always
ports:
#- '80:80'
- '82:81'
#- '443:443'
environment:
DB_MYSQL_HOST: "db"
DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "nginx"
DB_MYSQL_PASSWORD: ${DB_PASSWORD}
DB_MYSQL_NAME: "nginx"
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
db:
image: 'jc21/mariadb-aria:latest'
container_name: nginx_db
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: 'nginx'
MYSQL_USER: 'nginx'
MYSQL_PASSWORD: ${DB_PASSWORD}
volumes:
- ./data/mysql:/var/lib/mysql

View File

@@ -0,0 +1,19 @@
version: "2.1"
services:
wireshark:
image: lscr.io/linuxserver/wireshark:latest
container_name: wireshark
cap_add:
- NET_ADMIN
security_opt:
- seccomp:unconfined #optional
#network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- ./config:/config
ports:
- 3010:3000 #optional
restart: unless-stopped