Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

14
Can't get a minimal install of nextcloud
Post Body

I'm missing something with the exemples given by nextcloud for Docker. I'm trying to run this one: https://github.com/nextcloud/docker/tree/master/.examples/docker-compose/insecure/postgres/fpm

Here is my modified docker-compose.yml file:

version: '3'

services:
  db:
    image: postgres:alpine
    restart: always
    volumes:
      - db:/srv/nextcloud/postgresql/data
    env_file:
      - db.env

  redis:
    image: redis:alpine
    restart: always

  app:
    image: nextcloud:fpm-alpine
    restart: always
    volumes:
      - nextcloud:/srv/nextcloud/www/html
    environment:
      - POSTGRES_HOST=db
      - REDIS_HOST=redis
    env_file:
      - db.env
    depends_on:
      - db
      - redis

  web:
    build: ./web
    restart: always
    ports:
      - 8080:80
    volumes:
      - nextcloud:/srv/nextcloud/www/html:ro
    depends_on:
      - app

  cron:
    image: nextcloud:fpm-alpine
    restart: always
    volumes:
      - nextcloud:/srv/nextcloud/www/html
    entrypoint: /cron.sh
    depends_on:
      - db
      - redis

volumes:
  db:
  nextcloud:

The other files are the same.

docker-compose up -d works fine but nginx sends a 404 when accessing the page and I can see none of my volumes in /srv/nextcloud/. I'm not sure what's going on, I tried to change permissions on /srv/nextcloud/ folder but it didn't help. Any ideas?

Author
Account Strength
100%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
5,457
Link Karma
1,172
Comment Karma
4,204
Profile updated: 1 week ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago