Comments (1)
2\. Where is it defined that the port number for nextcloud is 80 and that of ssl is 443.
That is defined in the traefik.toml line 6 & 11.
2\. Can I change this and have multiple containers running on the same machine?
With a lot of work. Maybe.
If you want to run different nextcloud instances on different ports you have to define for each one another entrypoint. Like it's done for onlyoffice.
So traefik will listen on all these ports. That's the easy part.
Now you have to find all container tasks needed to setup a nextcloud instance.
That is at least nextcloud + nginx (in case you use the fpm container).
You have to give the container different namens (nextcloud00, nextcloud01, nextcloud02, ...)
You have to make sure that they all use different data and config folders
and you have to modify the config tasks.
as you can see in the command above the container name is always "nextcloud".
When I was writing this playbook I didn't had a multi nextcloud environment in mind.
The good news: You look at the playbook ReinerNippes/selfhosted_on_docker.
There you can define a set of nextcloud instances.
- name: nextcloud00
type: nextcloud
server_fqdn: nextcloud00.{{ base_domain }}
collabora: true
collabora_dictionaries: "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru"
onlyoffice: true
talk: true
talk_server: base.{{ base_domain }}
- name: nextcloud01
type: nextcloud
server_fqdn: nextcloud01.{{ base_domain }}
collabora: true
collabora_dictionaries: "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru"
onlyoffice: true
talk: true
talk_server: base.{{ base_domain }}
- name: nextcloud02
type: nextcloud
server_fqdn: nextcloud02.{{ base_domain }}
collabora: true
collabora_dictionaries: "de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru"
onlyoffice: true
talk: true
talk_server: base.{{ base_domain }}
Nevertheless they won't run on different ports but different dns names.
from nextcloud_on_docker.
Related Issues (20)
- Ansible need to be executed on docker host and other small problems HOT 1
- Broken App Install HOT 14
- Nginx Disappeared after nextcloud update? HOT 5
- Subdirectory /nextcloud instead of subdomain HOT 1
- Watchtower potentially broke installation HOT 2
- 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE
- Openning .odt/.ods/... files does not redirect to Collabora HOT 2
- Question HOT 1
- Typo in 'prepare_system.sh' HOT 1
- Setup failing on steps after [nextcloud_config : updating maintenance htaccess] HOT 2
- How to disable HTTPS HOT 2
- Lower reserved memory ubuntu HOT 2
- Restoring postgres db with restiq into fresh install nextcloud_on_docker HOT 4
- Not Understanding Where to Have docker-compose.yml
- Unable to obtain ACME certificate for domains: Connection refused HOT 5
- Questions about the installation steps HOT 2
- Details on upgrading when next version of nextcloud releases HOT 2
- Integrate Nextcloud with Protonmail Bridge HOT 6
- traefik seems to generate new self-signed certificates after random intervals HOT 3
- Working Environment/Versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud_on_docker.