update to version 7

This commit is contained in:
moeny-matt 2024-11-04 18:42:04 -05:00
parent 775a4e11e4
commit 50d36a6eba
2 changed files with 28 additions and 28 deletions

View File

@ -1,6 +1,6 @@
# rocketchat.yml
volumes:
mongodb_data: { driver: local }
traefik: { driver: local }
services:
rocketchat:
@ -32,7 +32,7 @@ services:
- "${BIND_IP:-0.0.0.0}:${HOST_PORT:-3000}:${PORT:-3000}"
mongodb:
image: docker.io/bitnami/mongodb:${MONGODB_VERSION:-5.0}
image: docker.io/bitnami/mongodb:${MONGODB_VERSION:-6.0}
restart: always
volumes:
- mongodb_data:/bitnami/mongodb
@ -44,4 +44,29 @@ services:
MONGODB_INITIAL_PRIMARY_PORT_NUMBER: ${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}
MONGODB_ADVERTISED_HOSTNAME: ${MONGODB_ADVERTISED_HOSTNAME:-mongodb}
MONGODB_ENABLE_JOURNAL: ${MONGODB_ENABLE_JOURNAL:-true}
ALLOW_EMPTY_PASSWORD: ${ALLOW_EMPTY_PASSWORD:-yes}
ALLOW_EMPTY_PASSWORD: ${ALLOW_EMPTY_PASSWORD:-yes}
ulimits:
nofile:
soft: 64000
hard: 64000
traefik:
image: docker.io/traefik:${TRAEFIK_RELEASE:-v2.9.8}
restart: always
command:
- --api.insecure=false
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entrypoints.web.address=:80
- --entrypoints.web.http.redirections.entryPoint.to=https
- --entrypoints.web.http.redirections.entryPoint.scheme=https
- --entrypoints.https.address=:443
- --certificatesresolvers.le.acme.tlschallenge=true
- --certificatesresolvers.le.acme.email=${LETSENCRYPT_EMAIL?need email for cert expiry notifications}
- --certificatesresolvers.le.acme.storage=/letsencrypt/acme.json
ports:
- 80:80
- 443:443
volumes:
- traefik:/letsencrypt:rw
- /run/docker.sock:/var/run/docker.sock:ro

View File

@ -1,25 +0,0 @@
# traefik.yml
volumes:
traefik: { driver: local }
services:
traefik:
image: docker.io/traefik:${TRAEFIK_RELEASE:-v2.9.8}
restart: always
command:
- --api.insecure=false
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entrypoints.web.address=:80
- --entrypoints.web.http.redirections.entryPoint.to=https
- --entrypoints.web.http.redirections.entryPoint.scheme=https
- --entrypoints.https.address=:443
- --certificatesresolvers.le.acme.tlschallenge=true
- --certificatesresolvers.le.acme.email=${LETSENCRYPT_EMAIL?need email for cert expiry notifications}
- --certificatesresolvers.le.acme.storage=/letsencrypt/acme.json
ports:
- 80:80
- 443:443
volumes:
- traefik:/letsencrypt:rw
- /run/docker.sock:/var/run/docker.sock:ro