- Install and configure the dependencies:
- Docker:
sudo apt-get remove docker docker.io containerd runc
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
- docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
- Docker:
- Clone the repo
- Run
docker-compose up -d
- Copy the reverseproxy configuration file into the correct directory:
cp reverseproxy nginx-config/nginx/sites-enabled/default
-
Notifications
You must be signed in to change notification settings - Fork 0
HarryU/web-server
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Config for nGinx webserver
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published