I’m trying to setup an OCIS server for testing with a locally hosted S3 style object storage. I’m not exposing this to the internet while testing and would like to avoid setting up traefik at the moment. I used the S3 docker compose example but cut out all the traefik stuff. I’ve been able to get OCIS to start up without error in the terminal and when I visit ‘localhost:9200’ in my browser I get a blue stylized background. But, it redirects to what I think is supposed to be a login page and no fields ever appear. If I look at the console output in the browser I see cors errors. It is trying to load a remote resource at “https://localhost/themes/owncloud/theme.json”. Is there an easy way to set this up without all the security or am I better off setting up a domain and just letting traefik do it’s thing?
Thanks,
Linux Mint 21 (ubuntu 22.04). The latest Owncloud docker image as of Feb 19 2023
If you are not running other apps, I recommend using Traefik and use self-signed certificates with it.
I personally use a nginx reverse proxy, but would like to eventually transition to Traefik once I get it working with my other docker containers.
i am new to docker, i am trying to do the same , i can see i have files like
ocis.yml , docker-compose.yml and .env ,
where do i put the changes mentioned above ?
tried to the combination on ocis.yml as follows
ports:
- 9200:9200
environment:
# PROXY_HTTP_ADDR: o.mydomain.com:9200
PROXY_HTTP_ADDR: 0.0.0.0:9200
# enable the notifications service as it is not started automatically
OCIS_ADD_RUN_SERVICES: "notifications"
#OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
# OCIS_URL: https://o.mydomain.com
# OCIS_URL: https://10.10.10.182:9200
OCIS_INSECURE: "true"
tried in .env also
# Defaults to "ocis.owncloud.test"
#PROXY_INSECURE_BACKEND=true
#OCIS_INSECURE=true
#PROXY_HTTP_ADDR=10.10.10.182:9200
#OCIS_URL=https://o.mydomain.com
#
#
OCIS_DOMAIN=https://o.mydomain.com/
#OCIS_HTTP_PORT=9200
#OCIS_HTTPS_PORT=443
not sure any of it are right or what variables are correct .
But i came across the login page with no. login field, as the current question on the form. but still not sure how to fix and dont know how to use this properly , after a lot of trial and error .
any help is appreciated