Skip to content

Pages return 403 status #38

@aetriusgx

Description

@aetriusgx

I followed the instructions using my own docker-compose. The image doesn't create its own db user and table so I had to make it manually in phpMyAdmin, which worked from viewing the civicrm db:

Image


After running the installation command in the docker container, when visiting the url, it returns a 403 error

Image Image


When attempting to visit /civicrm/login, it returns a 408 error as well

Image Image
---
services:
  civicrm:
    image: civicrm/civicrm:latest
    restart: unless-stopped
    hostname: civicrm
    networks:
      frontend:
        ipv4_address: 172.34.0.22
      backend:
        ipv4_address: 172.54.0.82
    environment:
      CIVICRM_DB_HOST: 172.54.0.10
      CIVICRM_DB_PORT: 3306
      CIVICRM_DB_NAME: civicrm
      CIVICRM_DB_USER: civicrm
      CIVICRM_DB_PASSWORD: ${MYSQL_PASSWORD}
      CIVICRM_UF_BASEURL: https://civicrm.domain.tld/
    volumes:
      - ./var/www/html/public:/var/www/html/public:rw
      - ./var/www/html/private:/var/www/html/private:rw
      - ./var/www/html/ext:/var/www/html/ext:rw
    labels:
      - traefik.enable=true
      - traefik.http.routers.civicrm.rule=Host(`civicrm.domain.tld`)
      - traefik.http.routers.civicrm.entrypoints=websecure
      - traefik.http.routers.civicrm.tls=true
      - traefik.http.routers.civicrm.tls.certresolver=cloudflare
      - traefik.http.routers.civicrm.service=civicrm-service
      - traefik.http.services.civicrm-service.loadBalancer.server.port=80

networks:
  frontend:
    external: true
  backend:
    external: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions