Skip to content

obiba/docker-amber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Amber

Docker images for Amber server and apps, see: amber, amber-studio, amber-collect and amber-visit.

These are base images that needs to be extended up for amending and building the apps.

A template repository is provided to showcase how to extend and customize these Docker images: amber-template

Amber server Dockerfile

Amber server is a nodejs application. Most of the runtime parameters can be set using environment variables. For advanced usage, the runtime settings can also be amended by copying a local ./config/production.json file.

The Dockerfile for a production Amber server will then look like: Amber Server template

Amber Studio app Dockerfile

Amber Studio is a Quasar SPA (single page application) web app delivered by a NGINX web server. The web app must be built with the site specific settings such as the Amber server URL and the reCAPTCHA site key.

Optionally, some source files can be modified as well:

  • settings.json file that is a simple way of tweaking the default theme and for adding new languages.
  • public folder that contains the app icons.
  • src/css folder that contains the SCSS files.

The Dockerfile for a production web server providing the Amber Studio app will then look like: Amber Studio template

Amber Collect app Dockerfile

Amber Collect is a Quasar PWA (progressive web application) web app delivered by a NGINX web server. The web app must be built with the site specific settings such as the Amber server URL and the reCAPTCHA site key.

Optionally, some source files can be modified as well:

  • settings.json file that is a simple way of tweaking the default theme and for adding new languages.
  • public folder that contains the app icons.
  • src/css folder that contains the SCSS files.

The Dockerfile for a production web server providing the Amber Collect app will then look like: Amber Collect template

Amber Visit app Dockerfile

Amber Collect is a Quasar SPA (single page application) web app delivered by a NGINX web server. The web app must be built with the site specific settings such as the Amber server URL and the reCAPTCHA site key.

Optionally, some source files can be modified as well:

  • settings.json file that is a simple way of tweaking the default theme and for adding new languages.
  • public folder that contains the app icons.
  • src/css folder that contains the SCSS files.

The Dockerfile for a production web server providing the Amber Visit app will then look like: Amber Visit template