Resources are collected here related to launch a Restorecommerce system using Docker Compose.
A complete system can be launched with:
./all.bash up -dwhere -d stands for detached mode.
Stopped with:
./all.bash stop./all.bash -p [PROJECT_PREFIX] up -dwhere -d stands for detached mode.
Stopped with:
./all.bash -p [PROJECT_PREFIX] stopTo remove all containers (except volumes):
./all.bash rmTo remove all volumes (delete the data):
docker volume pruneThe backing services for a Restorecommerce system comprise:
These can be launched with:
./backing.bash up -dwhere -d stands for detached mode.
Stopped with:
./backing.bash stopTo remove backing containers (except volumes):
./backing rmTo remove all volumes (delete the data):
docker volume pruneCreate a file named .env in system/docker/.
Copy the following section into your personal .env file and set your preferences and credentials for:
# General
ENV_FILE='.env'
RESTART=always #Enable or disable automatic restart of all services (always/no)
# Service Config
logger__console__level=silly #Overrides the log level of all services (silly/debug/verbose/warn/error/crit)
redis__offsetStoreInterval=15000
# Fulfillment Service
defaults__Couriers__DHLRest__configuration__value__ordering__username='user-valid' #For sandbox
defaults__Couriers__DHLRest__configuration__value__ordering__password='SandboxPasswort2023!' #For sandbox
defaults__Couriers__DHLRest__configuration__value__ordering__client_id='' #Set your DHL account information here
defaults__Couriers__DHLRest__configuration__value__ordering__client_secret='' #Set your DHL account information here
defaults__Couriers__DHLRest__configuration__value__tracking__username='' #Set your DHL account information here
defaults__Couriers__DHLRest__configuration__value__tracking__password='' #Set your DHL account information here
defaults__Couriers__DHLRest__configuration__value__tracking__client_id='' #Set your DHL account information here
defaults__Couriers__DHLRest__configuration__value__tracking__client_secret='' #Set your DHL account information here
# Notification Service
server__mailer__host='' #Set your mail server information here
server__mailer__port='' #Set your mail server information here
server__mailer__auth__user='' #Set your mail server information here
server__mailer__auth__pass='' #Set your mail server information here
server__mailer__tls__rejectUnauthorized='' #Set your mail server information here
server__mailer__address='' #Set your mail server information hereIn case the ElasticSearch container suddenly stops, just add vm.max_map_count=262144 to your
/etc/sysctl.conf file and reload the configuration file with:
sudo sysctl -p