Unable to change the URL for SuiteCRM 8 - Docker install

Hi,

I recently installed Suitecrm 8 using the docker compose. Everything seems to work fine but I don’t know how to change the url. The links are currently using “localhost”. I have installed suitecrm 7 and have change the config.php to change the URL but I am not able to find the file one suitecrm 8.

Below is my docker-compose.yml file:

version: '2'
services:
  mariadbp:
    image: docker.io/bitnami/mariadb
    environment:
      - ALLOW_EMPTY_PASSWORD=no
      - MARIADB_USER=bn_suitecrm
      - MARIADB_DATABASE=bitnami_suitecrm
      - MARIADB_PASSWORD=<password>
      - MARIADB_ROOT_PASSWORD=<password>
    volumes:
      - 'mariadbp_data:/bitnami/mariadb'
    restart: always
  suitecrmp:
    image: docker.io/bitnami/suitecrm:8
    ports:
      - '775:8080'
      - '4438:8443'
    environment:
      - SUITECRM_DATABASE_HOST=mariadbp
      - SUITECRM_DATABASE_PORT_NUMBER=3306
      - SUITECRM_DATABASE_USER=bn_suitecrm
      - SUITECRM_DATABASE_NAME=bitnami_suitecrm
      - ALLOW_EMPTY_PASSWORD=no
      - SUITECRM_DATABASE_PASSWORD=<password>
      - MARIADB_ROOT_PASSWORD=<password>
      - TZ=Asia/Dubai
    volumes:
      - 'suitecrmp_data:/bitnami/suitecrm'
    depends_on:
      - mariadbp
    restart: always

volumes:
  mariadbp_data:
    driver: local
  suitecrmp_data:
    driver: local

I have searched online but haven’t found a way. The new installer of Suitecrm shows that the url needs to be set at the start but I don’t get such an option when using docker-compose

Hi, welcome to the Community! :tada:

The file you’re looking for is (in v8) under public/legacy/config.php

There might be other relevant configurations in Apache…

1 Like

Hi pgr, Thanks that worked. :smiley: