Skip to content

Add AIO example compose file#76

Open
ASTRELION wants to merge 1 commit intowaja:developmentfrom
ASTRELION:aio-example
Open

Add AIO example compose file#76
ASTRELION wants to merge 1 commit intowaja:developmentfrom
ASTRELION:aio-example

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