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.
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?
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/docker/comm...