Compare commits

..

No commits in common. "testing" and "main" have entirely different histories.

View File

@ -4,14 +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}
environment: environment:
PHP_MEMORY_LIMIT: "${PHP_MEMORY_LIMIT:-1024M}" PHP_MEMORY_LIMIT: "${PHP_MEMORY_LIMIT:-1024M}"
labels: labels:
@ -26,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"
@ -36,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