crazy-max / docker-nextcloud

Nextcloud Docker image
MIT License
245 stars 47 forks source link

Future docker compose file postgre? #95

Closed killmasta93 closed 1 year ago

killmasta93 commented 2 years ago

Hi I was wondering if its possible to add with postgre? i was looking at the redis container would it be recommend to add also add this part for the cache?

 redis:
    image: redis:6-alpine
    container_name: nextcloud_redis
    environment:
      - "TZ"
    restart: always
     mem_limit: 2048m
    mem_reservation: 512m
crazy-max commented 1 year ago

i was looking at the redis container would it be recommend to add also add this part for the cache?

See https://github.com/crazy-max/docker-nextcloud#redis-cache and https://github.com/crazy-max/docker-nextcloud/blob/826dc407f37484c9bccd567e8847fb069a31396d/examples/compose/docker-compose.yml#L16-L21

I was wondering if its possible to add with postgre?

I think we could. Should be similar to https://github.com/crazy-max/docker-pure-ftpd/tree/master/examples/postgresql. Contributions welcomed.