Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AIO example compose file #76

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

ASTRELION
Copy link

@ASTRELION ASTRELION commented Jul 20, 2023

Adds an example docker-compose for using Nextcloud AIO.

Notable considerations for AIO are:

  • You need to mount a volume that doesn't exist until AIO creates it (nextcloud_aio_nextcloud), so it has to be defined in the volumes section.
  • You must use the container names that AIO creates for hosts, and the ports they use for their services.
  • It must share a network with the nextcloud service.
  • nextcloud_aio_nextcloud is mounted for the config directory, and in a slightly different place (/nextcloud instead of /nextcloud/config)

I got the relevant ports from netstat from within the containers. 5432 for the database seems to be defined here: https://github.com/nextcloud/all-in-one/blob/main/Containers/postgresql/start.sh#L134. 9000 for web seems to be defined here: https://github.com/nextcloud/all-in-one/blob/main/Containers/nextcloud/entrypoint.sh#L665 (nextcloud-aio-nextcloud:9000 is also referenced in various places for healthchecks and whatnot).

Ref #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant