Skip to content

Commit aa2fdcd

Browse files
authored
Merge pull request #98 from ccdc-opensource/docker-compose-directory
NO_JIRA run "docker compose" commands from correct directory
2 parents 413b8a8 + 6716beb commit aa2fdcd

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,9 @@ which should show the state of the services to all be `Up`. If any services have
244244
In most cases it is best to leave the postgres server running as in the commands below.
245245

246246
```sh
247+
# Replace `INSTALLDIR` by your WebCSD installation directory
247248
# Include docker-compose.insecure-configuration.yml if using a self-signed certificate
249+
cd INSTALLDIR
248250
docker compose -f docker-compose.yml -f docker-compose.ssl.yml down
249251
docker compose -f docker-compose.yml -f docker-compose.ssl.yml up -d
250252
```
@@ -253,7 +255,9 @@ If the csd-database container is unhealthy then do a full restart of the stack a
253255

254256
```sh
255257
# Follow the above instructions instead if using a self-hosted postgres server
258+
# Replace `INSTALLDIR` by your WebCSD installation directory
256259
# Include docker-compose.insecure-configuration.yml if using a self-signed certificate
260+
cd INSTALLDIR
257261
docker compose -f docker-compose.yml -f docker-compose.ssl.yml -f docker-compose.postgres.yml down
258262

259263
docker compose -f docker-compose.yml -f docker-compose.ssl.yml -f docker-compose.postgres.yml up -d csd-database
@@ -334,7 +338,9 @@ For other optional customisations to your WebCSD server please see [WebCSD Confi
334338
To change your license key you must delete the license volume and restart the stack:
335339

336340
```sh
341+
# Replace `INSTALLDIR` by your WebCSD installation directory
337342
# Include docker-compose.insecure-configuration.yml if using a self-signed certificate
343+
cd INSTALLDIR
338344
docker compose -f docker-compose.yml -f docker-compose.ssl.yml down
339345
rm -r lic
340346
docker compose -f docker-compose.yml -f docker-compose.ssl.yml up -d
@@ -362,7 +368,9 @@ Contact CCDC Support for the latest download link.
362368
For major releases export any in-house databases, recreate the csd-database and [restore](https://github.com/ccdc-opensource/on-site-webcsd/wiki/Setting-up-a-self%E2%80%90hosted-PostgreSQL-server#restore-database) it with a new database dump provided by Support.
363369

364370
```sh
371+
# Replace `INSTALLDIR` by your WebCSD installation directory
365372
# Include docker-compose.insecure-configuration.yml if using a self-signed certificate
373+
cd INSTALLDIR
366374
docker compose -f docker-compose.yml -f docker-compose.ssl.yml down
367375
docker compose pull
368376
docker compose -f docker-compose.yml -f docker-compose.ssl.yml up -d
@@ -385,6 +393,8 @@ To uninstall On-Site WebCSD run the GUI maintenance tool and select "Remove all
385393
With 4.3.0 rabbitmq needs to be rerun. If you are installing manually please run the following:
386394

387395
```sh
396+
# Replace `INSTALLDIR` by your WebCSD installation directory
397+
cd INSTALLDIR
388398
docker compose -f docker-compose.yml up -d
389399
```
390400

0 commit comments

Comments
 (0)