Skip to content

Commit

Permalink
added docker socket proxy to manual install
Browse files Browse the repository at this point in the history
  • Loading branch information
sheikhmishar committed Oct 4, 2024
1 parent 72a1505 commit 5672741
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
20 changes: 20 additions & 0 deletions manual-install/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ services:
nextcloud-aio-imaginary:
condition: service_started
required: false
nextcloud-aio-docker-socket-proxy:
condition: service_started
required: false
image: nextcloud/aio-nextcloud:latest
init: true
expose:
Expand Down Expand Up @@ -375,6 +378,23 @@ services:
cap_drop:
- NET_RAW

nextcloud-aio-docker-socket-proxy:
image: nextcloud/aio-docker-socket-proxy
restart: unless-stopped
init: true
expose:
- "2375"
environment:
- "TZ=${TIMEZONE}"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
profiles:
- docker-socket-proxy
networks:
- nextcloud-aio
cap_drop:
- NET_RAW

nextcloud-aio-whiteboard:
image: nextcloud/aio-whiteboard:latest
init: true
Expand Down
5 changes: 3 additions & 2 deletions manual-install/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ You can run the containers that are build for AIO with docker-compose. This come
- You can run it without a container having access to the docker socket
- You can modify all values on your own
- You can run the containers with docker swarm
- You can run it entirely offline or in air-gapped environment

### Disadvantages
- You lose the AIO interface
Expand All @@ -30,9 +31,9 @@ Now copy the provided yaml file to a compose.yaml file by running `cp latest.yml
Now you should be ready to go with `sudo docker compose up`.

## Docker profiles
The default profile of `latest.yml` only provide the minimum necessary services: nextcloud, database, redis and apache. To get optional services collabora, talk, whiteboard, talk-recording, clamav, imaginary or fulltextsearch use additional arguments for each of them, for example `--profile collabora`. (Note: there is no clamav image for arm64).
The default profile of `latest.yml` only provide the minimum necessary services: nextcloud, database, redis and apache. To get optional services collabora, talk, whiteboard, talk-recording, clamav, imaginary, fulltextsearch or docker-socket-proxy use additional arguments for each of them, for example `--profile collabora`. (Note: there is no clamav image for arm64).

For a complete all-in-one with collabora use `sudo docker compose --profile collabora --profile talk --profile talk-recording --profile clamav --profile imaginary --profile fulltextsearch --profile whiteboard up`. (Note: there is no clamav image for arm64).
For a complete all-in-one with collabora use `sudo docker compose --profile collabora --profile talk --profile talk-recording --profile clamav --profile imaginary --profile fulltextsearch --profile whiteboard --profile docker-socket-proxy up`. (Note: there is no clamav image for arm64).

## How to update?
Since the AIO containers may change in the future, it is highly recommended to strictly follow the following procedure whenever you want to upgrade your containers.
Expand Down

0 comments on commit 5672741

Please sign in to comment.