Show / Hide Table of Contents
Edit on GitHub

Amplia on Docker Swarm - Using a stack with GrantID

The standard Amplia stack depends on an external GrantID service, which provides OpenID Connect services for user login and registration.

If you wish to run GrantID internally on the same stack as Amplia, instead of the standard amplia-stack.yml file use the file amplia-grantid-stack.yml

Download the compose file and the configuration file templates:

curl -O https://cdn.lacunasoftware.com/amplia/docker/amplia-grantid-stack.yml
curl -O https://cdn.lacunasoftware.com/amplia/docker/amplia.json
curl -O https://cdn.lacunasoftware.com/amplia/docker/amplia-proxy.conf
curl -O https://cdn.lacunasoftware.com/grantid/docker/grantid.json
curl -O https://cdn.lacunasoftware.com/grantid/docker/grantid-proxy.conf

Edit the stack file:

nano amplia-grantid-stack.yml

Under services > nginx > networks > default > aliases, add your base domain, login domain and API domain for GrantID.

Then, follow setup instructions for both Amplia and GrantID, skipping the initial download steps since we've already downloaded the appropriate files.

Note

Remember to replace occurrences of amplia-stack.yml and grantid-stack.yml on commands in both setup instructions with amplia-grantid-stack.yml

See also

  • Installing Amplia on Docker Swarm
  • Enabling SSL
  • Using an external database
  • Checking the system logs
  • Persistent data (backup considerations)
Back to top Copyright © 2015-2020 Lacuna Software