Compare commits

..

No commits in common. "245c91a22fa75e5dde1d423e88540529a4fa4f27" and "3337cbb530a1088d9b61fad3027ca85933e2d294" have entirely different histories.

View File

@ -4,15 +4,11 @@ volumes:
networks: networks:
traefik: traefik:
external: true external: true
internal:
internal: true
services: services:
nextcloud: nextcloud:
image: "${IMAGE:-nextcloud}:${VERSION:-latest}" image: "${IMAGE:-nextcloud}:${VERSION:-latest}"
container_name: "${NAME:-nextcloud}" container_name: "${NAME:-nextcloud}"
mem_limit: ${MEM_LIMIT:-2g}
cpus: ${CPUS:-1}
environment: environment:
PHP_MEMORY_LIMIT: "${PHP_MEMORY_LIMIT:-1024M}" PHP_MEMORY_LIMIT: "${PHP_MEMORY_LIMIT:-1024M}"
labels: labels:
@ -27,7 +23,6 @@ services:
- "traefik.docker.network=${NETWORK:-traefik}" - "traefik.docker.network=${NETWORK:-traefik}"
- "traefik.enable=${ENABLE:-true}" - "traefik.enable=${ENABLE:-true}"
networks: networks:
- internal
- "${NETWORK:-traefik}" - "${NETWORK:-traefik}"
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
@ -37,7 +32,5 @@ services:
image: "redis:${REDIS_VERSION:-latest}" image: "redis:${REDIS_VERSION:-latest}"
container_name: "${NAME:-nextcloud}-redis" container_name: "${NAME:-nextcloud}-redis"
command: redis-server --requirepass ${REDIS_PASSWORD:?} command: redis-server --requirepass ${REDIS_PASSWORD:?}
networks:
- internal
volumes: volumes:
- redis:/data - redis:/data