- Edit environment variables in config.env with right parameters according your needs:
DEFAULT_HOST: "erp.blockfreight.com"
VIRTUAL_HOST: "erp.blockfreight.com"
LETSENCRYPT_HOST: "erp.blockfreight.com"
LETSENCRYPT_EMAIL: "SET_AN_EMAIL_TO_GET_LETS_ENCRYPT_WARNINGS"
POSTGRES_USER: "ofbiz"
POSTGRES_PASSWORD: "ofbiz"
OFBIZ_DB: "ofbiz"
OFBIZ_OLAP_DB: "ofbizolap"
OFBIZ_TENANT_DB: "ofbiztentant"
- Start everything running:
docker-compose up -d
- Wait a bit and then you can access everything from the domain you provided in parameters. By default it redirects to SSL.
- Postgresql is persisting data in volume pgdata. Of course a proper backup policy for DB is needed
NOTE: You can log in with the user admin and password ofbiz for the first time and you are prompted to change password.