Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Moving from CRM to Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
darh committed May 4, 2019
1 parent 15c0f10 commit bf08a38
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .env.example
Expand Up @@ -34,11 +34,11 @@ SYSTEM_DB_PROFILER=stdout

########################################################################################################################
# CRM
CRM_HTTP_ADDR=:80
CRM_HTTP_PRETTY_JSON=1
CRM_HTTP_ERROR_TRACING=1
CRM_DB_DSN=crust:crust@tcp(db:3306)/crust?collation=utf8mb4_general_ci
CRM_DB_PROFILER=stdout
COMPOSE_HTTP_ADDR=:80
COMPOSE_HTTP_PRETTY_JSON=1
COMPOSE_HTTP_ERROR_TRACING=1
COMPOSE_DB_DSN=crust:crust@tcp(db:3306)/crust?collation=utf8mb4_general_ci
COMPOSE_DB_PROFILER=stdout

########################################################################################################################
# Messaging
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -26,7 +26,7 @@ limitations.

- `$DOMAIN`
- `system.api.${DOMAIN}`
- `crm.api.${DOMAIN}`
- `compose.api.${DOMAIN}`
- `messaging.api.${DOMAIN}`

Make sure all domains point to where you host your files. If your domain registrar/dns service provider supports
Expand Down Expand Up @@ -72,7 +72,7 @@ backup storage space.
#### Crust
- `db` - a database instance for CRUST,
- `system` - the system service for CRUST,
- `crm` - the CRM service for CRUST,
- `compose` - the Compose service for CRUST,
- `messaging` - the Messaging service for CRUST,
- `webapp` - the complete webapp for CRUST

Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml
Expand Up @@ -27,8 +27,8 @@ services:
- ./data/api-system/store:/crust/var/store
restart: on-failure

api-crm:
image: crusttech/api-crm:${CRUST_VERSION}
api-compose:
image: crusttech/api-compose:${CRUST_VERSION}
depends_on:
- db
networks:
Expand All @@ -37,10 +37,10 @@ services:
env_file:
- .env
environment:
VIRTUAL_HOST: crm.api.${DOMAIN}
LETSENCRYPT_HOST: crm.api.${DOMAIN}
VIRTUAL_HOST: compose.api.${DOMAIN}
LETSENCRYPT_HOST: compose.api.${DOMAIN}
volumes:
- ./data/api-crm/store:/crust/var/store
- ./data/api-compose/store:/crust/var/store
restart: on-failure

api-messaging:
Expand Down Expand Up @@ -69,7 +69,7 @@ services:
VIRTUAL_HOST: ${DOMAIN}
LETSENCRYPT_HOST: ${DOMAIN}
depends_on:
- api-crm
- api-compose
- api-messaging
- api-system
restart: on-failure
Expand Down

0 comments on commit bf08a38

Please sign in to comment.