-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
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:
After running the installation command in the docker container, when visiting the url, it returns a 403 error
When attempting to visit /civicrm/login, it returns a 408 error as well
---
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: trueMetadata
Metadata
Assignees
Labels
No labels