Skip to content

Generic Platform - Nginx Statics Server product

License

Notifications You must be signed in to change notification settings

ayudadigital/gp-nginx

 
 

Repository files navigation

Generic Platform - Nginx Statics Server

Overview

Docker image and docker-compose sample configuration to bring up a Nginx Statics Server Product to the Docker Generic Platform (GP).

Configuration

The product is formed by one container:

Operation

  1. Use the docker-compose.yml.sample file as your docker-compose configuration file.

  2. Install assets with devcontrol assets-install and copy your static files in the data/usr/share/nginx/html directory.

  3. Start with docker-compose up -d.

  4. Open the url http://localhost:8090 in a browser to view your statics.

  5. Manage backups of your files:

    1. Make a backup executing docker-compose exec statics backup.
    2. Find the current backup within the /var/backups/gp/statics/ of the container.
    3. Extract the current backup executing docker cp $(docker-compose ps -q statics):/var/backups/gp gp.
  6. Stop the platform with docker-compose stop.

You can use this docker piece with the Docker Generic Platform project.

Known issues

None known

About

Generic Platform - Nginx Statics Server product

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Shell 84.9%
  • Dockerfile 10.2%
  • HTML 4.9%