updated docker compose files

This commit is contained in:
2024-11-05 13:48:34 +01:00
parent 72d4b93fdf
commit 493d5dde42
6 changed files with 18 additions and 18 deletions

View File

@@ -1,13 +1,13 @@
version: '2.2' version: '2.2'
volumes: volumes:
fhem_opt: fhem_opt:
services: services:
fhem: fhem:
image: fhem/fhem:latest image: fhem/fhem:latest
container_name: fhem container_name: fhem
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- fhem_opt:/opt/fhem/ - fhem_opt:/opt/fhem/
environment: environment:
@@ -21,4 +21,4 @@ services:
- "traefik.http.middlewares.fhem-auth.basicauth.users=nils:$$apr1$$JDBG7p8k$$LB8y6/aKcNQ/ybLz7LXjY." - "traefik.http.middlewares.fhem-auth.basicauth.users=nils:$$apr1$$JDBG7p8k$$LB8y6/aKcNQ/ybLz7LXjY."
- "traefik.http.services.fhem-service.loadbalancer.server.port=8083" - "traefik.http.services.fhem-service.loadbalancer.server.port=8083"

View File

@@ -1,8 +1,8 @@
version: '2' version: '2'
services: services:
mosquitto: mosquitto:
image: eclipse-mosquitto image: eclipse-mosquitto:2.0
expose: expose:
- "1884" - "1884"
- "9001" - "9001"
@@ -11,10 +11,10 @@ services:
- "9001:9001" - "9001:9001"
volumes: volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf - ./mosquitto.conf:/mosquitto/config/mosquitto.conf
- mosquitto_data:/mosquitto/data - mosquitto_data:/mosquitto/data
- mosquitto_log:/mosquitto/log - mosquitto_log:/mosquitto/log
restart: unless-stopped restart: unless-stopped
volumes: volumes:
mosquitto_data: mosquitto_data:

View File

@@ -1,6 +1,6 @@
services: services:
nginx: nginx:
image: nginx:1.25 image: nginx:1.27
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.nginx.rule=Host(`montana2000.freeddns.org`)" - "traefik.http.routers.nginx.rule=Host(`montana2000.freeddns.org`)"
@@ -11,10 +11,10 @@ services:
volumes: volumes:
- www-data:/usr/share/nginx/html/ - www-data:/usr/share/nginx/html/
restart: always restart: always
volumes: volumes:
www-data: www-data:
networks: networks:
traefik_web: traefik_web:

View File

@@ -2,7 +2,7 @@ version: '2.4'
services: services:
octoprint: octoprint:
image: octoprint/octoprint image: octoprint/octoprint:latest
restart: unless-stopped restart: unless-stopped
ports: ports:
- 8088:80 - 8088:80
@@ -16,7 +16,7 @@ services:
# you add a video device # you add a video device
#environment: #environment:
# - ENABLE_MJPG_STREAMER=true # - ENABLE_MJPG_STREAMER=true
#### ####
# uncomment if you wish to edit the configuration files of octoprint # uncomment if you wish to edit the configuration files of octoprint
# refer to docs on configuration editing for more information # refer to docs on configuration editing for more information
@@ -37,4 +37,4 @@ services:
# - octoprint:/octoprint # - octoprint:/octoprint
volumes: volumes:
octoprint: octoprint:

View File

@@ -2,7 +2,7 @@ version: '3.0'
services: services:
mytb: mytb:
restart: unless-stopped restart: unless-stopped
image: "thingsboard/tb-postgres" image: "thingsboard/tb-postgres:latest"
ports: ports:
- "9090:9090" - "9090:9090"
- "1883:1883" - "1883:1883"
@@ -15,5 +15,5 @@ services:
- things_board_log:/var/log/thingsboard - things_board_log:/var/log/thingsboard
volumes: volumes:
things_board_data: things_board_data:
things_board_log: things_board_log:

View File

@@ -3,7 +3,7 @@ version: "3.3"
services: services:
traefik: traefik:
image: "traefik:v2.10" image: "traefik:v3.2"
container_name: "traefik" container_name: "traefik"
command: command:
#- "--log.level=DEBUG" #- "--log.level=DEBUG"