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

Always a 404 error or "Site cannot be reached error" when I try to https://islandora.traefik.me/ #272

Open
SnellsCorner opened this issue Jul 12, 2022 · 1 comment

Comments

@SnellsCorner
Copy link

SnellsCorner commented Jul 12, 2022

I followed the documentation exactly for creating a local developing environment. Everything runs fine on the docker desktop app. But when I try to open it in the browser it always errors. I am not sure what I am doing wrong with it. I attached my docker.compose.yml file below.

I also do not get any logs in my traefik and I have no errors in any other logs.

Screen Shot 2022-07-11 at 11 46 31 PM

Any answers are greatly appreciated!

name: isle-dc
services:
activemq:
deploy:
resources:
limits:
memory: "2147483648"
reservations:
memory: "1073741824"
image: islandora/activemq:1.0.0-alpha-15
labels:
traefik.enable: "false"
traefik.http.routers.isle-dc-activemq_http.entrypoints: activemq
Screen Shot 2022-07-11 at 11 46 31 PM

  traefik.http.routers.isle-dc-activemq_http.service: isle-dc-activemq
  traefik.http.services.isle-dc-activemq.loadbalancer.server.port: "8161"
networks:
  default: null
restart: unless-stopped
secrets:
- source: ACTIVEMQ_PASSWORD
- source: ACTIVEMQ_WEB_ADMIN_PASSWORD
volumes:
- type: volume
  source: activemq-data
  target: /opt/activemq/data
  volume: {}

alpaca:
deploy:
resources:
limits:
memory: "2147483648"
reservations:
memory: "1073741824"
environment:
ALPACA_FITS_TIMEOUT: "300000"
ALPACA_HOMARUS_TIMEOUT: "300000"
ALPACA_HOUDINI_TIMEOUT: "300000"
ALPACA_OCR_TIMEOUT: "300000"
image: islandora/alpaca:1.0.0-alpha-15
networks:
default: null
restart: unless-stopped
secrets:
- source: ALPACA_ACTIVEMQ_PASSWORD
- source: ALPACA_KARAF_ADMIN_PASSWORD
blazegraph:
deploy:
resources:
limits:
memory: "5368709120"
reservations:
memory: "2147483648"
image: islandora/blazegraph:1.0.0-alpha-15
labels:
traefik.enable: "false"
traefik.http.routers.isle-dc-blazegraph_http.entrypoints: blazegraph
traefik.http.routers.isle-dc-blazegraph_http.service: isle-dc-blazegraph
traefik.http.services.isle-dc-blazegraph.loadbalancer.server.port: "8080"
networks:
default: null
restart: unless-stopped
volumes:
- type: volume
source: blazegraph-data
target: /data
volume: {}
cantaloupe:
deploy:
resources:
limits:
memory: "5368709120"
reservations:
memory: "1073741824"
environment:
CANTALOUPE_DELEGATE_SCRIPT_ENABLED: "false"
CANTALOUPE_DELEGATE_SCRIPT_PATHNAME: /opt/tomcat/bin/delegates.rb
CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY: BasicLookupStrategy
image: islandora/cantaloupe:1.0.0-alpha-15
labels:
traefik.enable: "true"
traefik.http.middlewares.cantaloupe-redirectscheme.redirectscheme.permanent: "true"
traefik.http.middlewares.cantaloupe-redirectscheme.redirectscheme.scheme: https
traefik.http.routers.isle-dc-cantaloupe_http.entrypoints: http
traefik.http.routers.isle-dc-cantaloupe_http.middlewares: cantaloupe-redirectscheme
traefik.http.routers.isle-dc-cantaloupe_http.rule: Host(islandora.traefik.me)
&& PathPrefix(/cantaloupe)
traefik.http.routers.isle-dc-cantaloupe_http.service: isle-dc-cantaloupe
traefik.http.routers.isle-dc-cantaloupe_https.entrypoints: https
traefik.http.routers.isle-dc-cantaloupe_https.rule: Host(islandora.traefik.me)
&& PathPrefix(/cantaloupe)
traefik.http.routers.isle-dc-cantaloupe_https.tls: "true"
traefik.http.services.isle-dc-cantaloupe.loadbalancer.server.port: "8080"
networks:
default: null
restart: unless-stopped
secrets:
- source: TOMCAT_ADMIN_PASSWORD
volumes:
- type: volume
source: cantaloupe-data
target: /data
volume: {}
crayfits:
depends_on:
fits:
condition: service_started
deploy:
resources:
limits:
memory: "1073741824"
reservations:
memory: "536870912"
image: islandora/crayfits:1.0.0-alpha-15
networks:
default: null
restart: unless-stopped
drupal:
depends_on:
mariadb:
condition: service_started
traefik:
condition: service_started
deploy:
resources:
limits:
memory: "5368709120"
reservations:
memory: "268435456"
environment:
DRUPAL_DEFAULT_CANTALOUPE_URL: https://islandora.traefik.me/cantaloupe/iiif/2
DRUPAL_DEFAULT_DB_DRIVER: mysql
DRUPAL_DEFAULT_FCREPO_HOST: islandora.traefik.me
DRUPAL_DEFAULT_FCREPO_PORT: "8081"
DRUPAL_DEFAULT_INSTALL_EXISTING_CONFIG: "false"
DRUPAL_DEFAULT_MATOMO_URL: https://islandora.traefik.me/matomo/
DRUPAL_DEFAULT_PROFILE: standard
DRUPAL_DEFAULT_SITE_URL: http://islandora.traefik.me
PHP_MAX_EXECUTION_TIME: "30"
PHP_MEMORY_LIMIT: 256M
PHP_POST_MAX_SIZE: 128M
PHP_UPLOAD_MAX_FILESIZE: 128M
image: islandora/drupal:1.0.0-alpha-15
labels:
traefik.enable: "true"
traefik.http.middlewares.drupal-redirectscheme.redirectscheme.permanent: "true"
traefik.http.middlewares.drupal-redirectscheme.redirectscheme.scheme: https
traefik.http.routers.isle-dc-drupal_http.entrypoints: http
traefik.http.routers.isle-dc-drupal_http.middlewares: drupal-redirectscheme
traefik.http.routers.isle-dc-drupal_http.rule: Host(islandora.traefik.me)
traefik.http.routers.isle-dc-drupal_http.service: isle-dc-drupal
traefik.http.routers.isle-dc-drupal_https.entrypoints: https
traefik.http.routers.isle-dc-drupal_https.rule: Host(islandora.traefik.me)
traefik.http.routers.isle-dc-drupal_https.tls: "true"
traefik.http.services.isle-dc-drupal.loadbalancer.server.port: "80"
networks:
default: null
gateway: null
restart: unless-stopped
secrets:
- source: DB_ROOT_PASSWORD
- source: DRUPAL_DEFAULT_ACCOUNT_PASSWORD
- source: DRUPAL_DEFAULT_CONFIGDIR
- source: DRUPAL_DEFAULT_DB_PASSWORD
- source: DRUPAL_DEFAULT_SALT
- source: JWT_PRIVATE_KEY
- source: JWT_PUBLIC_KEY
volumes:
- type: volume
source: solr-data
target: /opt/solr/server/solr
volume: {}
- type: bind
source: /Users/erich/Desktop/site/isle-dc/codebase
target: /var/www/drupal
bind:
create_host_path: true
- type: volume
source: drupal-sites-data
target: /var/www/drupal/web/sites/default/files
volume: {}
fcrepo:
depends_on:
activemq:
condition: service_started
deploy:
resources:
limits:
memory: "5368709120"
reservations:
memory: "1073741824"
environment:
FCREPO_ALLOW_EXTERNAL_DRUPALHTTP: http://islandora.traefik.me/
FCREPO_ALLOW_EXTERNAL_DRUPALHTTPS: https://islandora.traefik.me/
FCREPO_DISABLE_SYN: "false"
FCREPO_PERSISTENCE_TYPE: mysql
FCREPO_TOMCAT_ADMIN_ROLES: manager-gui,fedoraAdmin
FCREPO_TOMCAT_ADMIN_USER: admin
image: islandora/fcrepo6:1.0.0-alpha-15
labels:
traefik.enable: "true"
traefik.http.routers.isle-dc-fcrepo_http.entrypoints: fcrepo
traefik.http.routers.isle-dc-fcrepo_http.service: isle-dc-fcrepo
traefik.http.services.isle-dc-fcrepo.loadbalancer.server.port: "8080"
networks:
default: null
restart: unless-stopped
secrets:
- source: DB_ROOT_PASSWORD
- source: FCREPO_DB_PASSWORD
- source: JWT_ADMIN_TOKEN
- source: JWT_PUBLIC_KEY
volumes:
- type: volume
source: fcrepo-data
target: /data
volume: {}
fits:
deploy:
resources:
limits:
memory: "5368709120"
reservations:
memory: "1048576000"
image: islandora/fits:1.0.0-alpha-15
networks:
default: null
restart: unless-stopped
homarus:
deploy:
resources:
limits:
memory: "1073741824"
reservations:
memory: "536870912"
image: islandora/homarus:1.0.0-alpha-15
networks:
default: null
restart: unless-stopped
secrets:
- source: JWT_ADMIN_TOKEN
- source: JWT_PUBLIC_KEY
houdini:
deploy:
resources:
limits:
memory: "1073741824"
reservations:
memory: "536870912"
image: islandora/houdini:1.0.0-alpha-15
networks:
default: null
restart: unless-stopped
secrets:
- source: JWT_ADMIN_TOKEN
- source: JWT_PUBLIC_KEY
hypercube:
deploy:
resources:
limits:
memory: "536870912"
reservations:
memory: "268435456"
image: islandora/hypercube:1.0.0-alpha-15
networks:
default: null
restart: unless-stopped
secrets:
- source: JWT_ADMIN_TOKEN
- source: JWT_PUBLIC_KEY
mariadb:
deploy:
resources:
limits:
memory: "1073741824"
reservations:
memory: "536870912"
image: islandora/mariadb:1.0.0-alpha-15
labels:
traefik.enable: "false"
traefik.tcp.routers.isle-dc-mysql_tcp.entrypoints: mysql
traefik.tcp.routers.isle-dc-mysql_tcp.rule: HostSNI(*)
traefik.tcp.routers.isle-dc-mysql_tcp.service: isle-dc-mysql
traefik.tcp.services.isle-dc-mysql.loadbalancer.server.port: "3306"
networks:
default: null
restart: unless-stopped
secrets:
- source: DB_ROOT_PASSWORD
volumes:
- type: volume
source: mariadb-data
target: /var/lib/mysql
volume: {}
- type: volume
source: mariadb-files
target: /var/lib/mysql-files
volume: {}
matomo:
depends_on:
mariadb:
condition: service_started
deploy:
resources:
limits:
memory: "1073741824"
reservations:
memory: "536870912"
environment:
MATOMO_DEFAULT_HOST: islandora.traefik.me
image: islandora/matomo:1.0.0-alpha-15
labels:
traefik.enable: "true"
traefik.http.middlewares.isle-dc-matomo-customrequestheaders.headers.customrequestheaders.X-Forwarded-Uri: /matomo
traefik.http.middlewares.isle-dc-matomo-redirectscheme.redirectscheme.permanent: "true"
traefik.http.middlewares.isle-dc-matomo-redirectscheme.redirectscheme.scheme: https
traefik.http.middlewares.isle-dc-matomo-stripprefix.stripprefix.prefixes: /matomo
traefik.http.middlewares.isle-dc-matomo.chain.middlewares: isle-dc-matomo-stripprefix,isle-dc-matomo-customrequestheaders
traefik.http.routers.isle-dc-matomo_http.entrypoints: http
traefik.http.routers.isle-dc-matomo_http.middlewares: isle-dc-matomo-redirectscheme
traefik.http.routers.isle-dc-matomo_http.rule: Host(islandora.traefik.me)
&& PathPrefix(/matomo)
traefik.http.routers.isle-dc-matomo_http.service: isle-dc-matomo
traefik.http.routers.isle-dc-matomo_https.entrypoints: https
traefik.http.routers.isle-dc-matomo_https.middlewares: isle-dc-matomo
traefik.http.routers.isle-dc-matomo_https.rule: Host(islandora.traefik.me)
&& PathPrefix(/matomo)
traefik.http.routers.isle-dc-matomo_https.tls: "true"
traefik.http.services.isle-dc-matomo.loadbalancer.server.port: "80"
networks:
default: null
restart: unless-stopped
secrets:
- source: DB_ROOT_PASSWORD
- source: MATOMO_DB_PASSWORD
- source: MATOMO_USER_PASS
volumes:
- type: volume
source: matomo-config-data
target: /var/www/matomo
volume: {}
milliner:
deploy:
resources:
limits:
memory: "1073741824"
reservations:
memory: "536870912"
environment:
MILLINER_FEDORA6: "true"
image: islandora/milliner:1.0.0-alpha-15
networks:
default: null
gateway: null
restart: unless-stopped
secrets:
- source: JWT_ADMIN_TOKEN
- source: JWT_PUBLIC_KEY
recast:
deploy:
resources:
limits:
memory: "1073741824"
reservations:
memory: "536870912"
image: islandora/recast:1.0.0-alpha-15
networks:
default: null
restart: unless-stopped
secrets:
- source: JWT_ADMIN_TOKEN
- source: JWT_PUBLIC_KEY
solr:
deploy:
resources:
limits:
memory: "8589934592"
reservations:
memory: "6442450944"
image: islandora/solr:1.0.0-alpha-15
labels:
traefik.enable: "false"
traefik.http.routers.isle-dc-solr_http.entrypoints: solr
traefik.http.routers.isle-dc-solr_http.service: isle-dc-solr
traefik.http.services.isle-dc-solr.loadbalancer.server.port: "8983"
networks:
default: null
restart: unless-stopped
volumes:
- type: volume
source: solr-data
target: /opt/solr/server/solr
volume: {}
traefik:
command:
- --api.insecure=false
- --api.dashboard=false
- --api.debug=false
- --entryPoints.http.address=:80
- --entryPoints.https.address=:443
- --entryPoints.mysql.address=:3306
- --entryPoints.postgresql.address=:5432
- --entryPoints.fcrepo.address=:8081
- --entryPoints.blazegraph.address=:8082
- --entryPoints.activemq.address=:8161
- --entryPoints.solr.address=:8983
- --entryPoints.code-server.address=:8443
- --log.level=ERROR
- --providers.docker
- --providers.docker.network=gateway
- --providers.docker.exposedByDefault=false
- --providers.file.filename=/etc/traefik/tls.yml
- --providers.docker.defaultRule=Host(islandora.traefik.me)
container_name: traefik
deploy:
resources:
limits:
memory: "8589934592"
reservations:
memory: "4294967296"
image: traefik:2.7
labels:
traefik.http.routers.api.service: api@internal
networks:
default:
aliases:
- islandora.traefik.me
gateway: {}
ports:
- mode: ingress
target: 80
published: "80"
protocol: tcp
- mode: ingress
target: 443
published: "443"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 3306
published: "3306"
protocol: tcp
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8082
published: "8082"
protocol: tcp
- mode: ingress
target: 8161
published: "8161"
protocol: tcp
- mode: ingress
target: 8983
published: "8983"
protocol: tcp
- mode: ingress
target: 8443
published: "8443"
protocol: tcp
restart: unless-stopped
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
bind:
create_host_path: true
- type: bind
source: /Users/erich/Desktop/site/isle-dc/build/traefik-tls.yml
target: /etc/traefik/tls.yml
bind:
create_host_path: true
- type: bind
source: /Users/erich/Desktop/site/isle-dc/certs
target: /etc/ssl/traefik
bind:
create_host_path: true
networks:
default:
name: isle-dc_default
internal: true
gateway:
name: isle-dc_gateway
driver: bridge
volumes:
activemq-data:
name: isle-dc_activemq-data
blazegraph-data:
name: isle-dc_blazegraph-data
cantaloupe-data:
name: isle-dc_cantaloupe-data
drupal-sites-data:
name: isle-dc_drupal-sites-data
fcrepo-data:
name: isle-dc_fcrepo-data
mariadb-data:
name: isle-dc_mariadb-data
mariadb-files:
name: isle-dc_mariadb-files
matomo-config-data:
name: isle-dc_matomo-config-data
solr-data:
name: isle-dc_solr-data
secrets:
ACTIVEMQ_PASSWORD:
name: isle-dc_ACTIVEMQ_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/ACTIVEMQ_PASSWORD
ACTIVEMQ_WEB_ADMIN_PASSWORD:
name: isle-dc_ACTIVEMQ_WEB_ADMIN_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/ACTIVEMQ_WEB_ADMIN_PASSWORD
ALPACA_ACTIVEMQ_PASSWORD:
name: isle-dc_ALPACA_ACTIVEMQ_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/ALPACA_ACTIVEMQ_PASSWORD
ALPACA_KARAF_ADMIN_PASSWORD:
name: isle-dc_ALPACA_KARAF_ADMIN_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/ALPACA_KARAF_ADMIN_PASSWORD
DB_ROOT_PASSWORD:
name: isle-dc_DB_ROOT_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/DB_ROOT_PASSWORD
DRUPAL_DEFAULT_ACCOUNT_PASSWORD:
name: isle-dc_DRUPAL_DEFAULT_ACCOUNT_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/DRUPAL_DEFAULT_ACCOUNT_PASSWORD
DRUPAL_DEFAULT_CONFIGDIR:
name: isle-dc_DRUPAL_DEFAULT_CONFIGDIR
file: /Users/erich/Desktop/site/isle-dc/secrets/live/DRUPAL_DEFAULT_CONFIGDIR
DRUPAL_DEFAULT_DB_PASSWORD:
name: isle-dc_DRUPAL_DEFAULT_DB_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/DRUPAL_DEFAULT_DB_PASSWORD
DRUPAL_DEFAULT_SALT:
name: isle-dc_DRUPAL_DEFAULT_SALT
file: /Users/erich/Desktop/site/isle-dc/secrets/live/DRUPAL_DEFAULT_SALT
FCREPO_DB_PASSWORD:
name: isle-dc_FCREPO_DB_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/FCREPO_DB_PASSWORD
JWT_ADMIN_TOKEN:
name: isle-dc_JWT_ADMIN_TOKEN
file: /Users/erich/Desktop/site/isle-dc/secrets/live/JWT_ADMIN_TOKEN
JWT_PRIVATE_KEY:
name: isle-dc_JWT_PRIVATE_KEY
file: /Users/erich/Desktop/site/isle-dc/secrets/live/JWT_PRIVATE_KEY
JWT_PUBLIC_KEY:
name: isle-dc_JWT_PUBLIC_KEY
file: /Users/erich/Desktop/site/isle-dc/secrets/live/JWT_PUBLIC_KEY
MATOMO_DB_PASSWORD:
name: isle-dc_MATOMO_DB_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/MATOMO_DB_PASSWORD
MATOMO_USER_PASS:
name: isle-dc_MATOMO_USER_PASS
file: /Users/erich/Desktop/site/isle-dc/secrets/live/MATOMO_USER_PASS
TOMCAT_ADMIN_PASSWORD:
name: isle-dc_TOMCAT_ADMIN_PASSWORD
file: /Users/erich/Desktop/site/isle-dc/secrets/live/TOMCAT_ADMIN_PASSWORD

@islandora-community
Copy link
Contributor

Hello,
If you rename the unzipped folder "islandora-sandbox" (it currently appears "islandora-sandbox 2"), does the problem resolve?

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

No branches or pull requests

2 participants