update to version 7
This commit is contained in:
parent
775a4e11e4
commit
50d36a6eba
@ -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
|
||||
@ -45,3 +45,28 @@ services:
|
||||
MONGODB_ADVERTISED_HOSTNAME: ${MONGODB_ADVERTISED_HOSTNAME:-mongodb}
|
||||
MONGODB_ENABLE_JOURNAL: ${MONGODB_ENABLE_JOURNAL:-true}
|
||||
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
|
25
traefik.yml
25
traefik.yml
@ -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
|
Loading…
Reference in New Issue
Block a user