... | ... | @@ -44,8 +44,7 @@ services: |
|
|
- DB_USERNAME=SA
|
|
|
- DB_PASSWORD=*****************
|
|
|
# Host names and URLs
|
|
|
- HOST_NAME=gserver.genebank.org
|
|
|
- BASE_URL=http://gserver.#
|
|
|
- BASE_URL=http://gserver.genebank.org
|
|
|
- FRONTEND_URL=http://gclient.genebank.org
|
|
|
restart: always
|
|
|
networks:
|
... | ... | @@ -214,12 +213,10 @@ Please make note of the following GGCE server configuration options: |
|
|
|
|
|
- `port`
|
|
|
The exposed TCP port of GGCE Server
|
|
|
With docker, the internal GGCE port 8080 is exposed using the -p flag.For example `-p 80:8080` exposes the internal port 8080 on port 80 of the docker host.
|
|
|
- `HOST_NAME`
|
|
|
The DNS name where the GGCE server will be accessible to clients.
|
|
|
Used to set HTTP cookie domain. *Must not include port number*.
|
|
|
- `HOST_NAMEANDPORT`
|
|
|
This variable informs GGCE about the port on which it is publicly accessible.
|
|
|
With docker, the internal GGCE port 8080 is exposed using the -p flag. For example `-p 80:8080` exposes the internal port 8080 on port 80 of the docker host.
|
|
|
- `BASE_URL`
|
|
|
The URL where the GGCE server is accessible to clients. For example `BASE_URL=https://gserver.genebank.org`.
|
|
|
It is used to set HTTP cookie domain and determine if HTTP cookies are flagged as secure.
|
|
|
- `DATA_DIR`
|
|
|
The disk volume that will hold files uploaded by users.
|
|
|
A docker volume ensures that the data persists between container restarts.
|
... | ... | @@ -248,8 +245,7 @@ docker run --rm --name 'ggce-server' \ |
|
|
-e "DB_URL=jdbc:sqlserver://<MSSQL>:1433;DatabaseName=ggce" \
|
|
|
-e "DB_USERNAME=sa" \
|
|
|
-e "DB_PASSWORD=YourStrong@Passw0rd" \
|
|
|
-e "HOST_NAME=${YOUR_DOCKER_HOST_IP}" \
|
|
|
-e "HOST_NAMEANDPORT=${YOUR_DOCKER_HOST_IP}:8081" \
|
|
|
-e "BASE_URL=http://gserver.genebank.org:8081" \
|
|
|
-e "FRONTEND_URL=http://${YOUR_DOCKER_HOST_IP}:3000" \
|
|
|
-e "DATA_DIR=/data/gringlobal" \
|
|
|
-v ggce-server-data:/data/gringlobal \
|
... | ... | |