forked from openwisp/docker-openwisp
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openwisp#119 from atb00ker/run-in-docker-compose
[enchancement] Using docker-compose in production
- Loading branch information
Showing
4 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Quick Setup: docker-compose | ||
|
||
[![Gitter](https://img.shields.io/gitter/room/openwisp/general.svg)](https://gitter.im/openwisp/dockerize-openwisp) | ||
[![Support](https://img.shields.io/badge/support-orange.svg)](http://openwisp.org/support.html) | ||
|
||
1. Install requirements (Debian): | ||
|
||
```bash | ||
sudo apt -y update | ||
sudo apt -y install git docker.io docker-compose make | ||
# Please ensure docker is installed properly and the following | ||
# command show system information. In most machines, you'll need to | ||
# add your user to the `docker` group and re-login to the shell. | ||
docker info | ||
``` | ||
|
||
2. Setup repository: | ||
|
||
```bash | ||
git clone https://github.com/openwisp/docker-openwisp.git | ||
cd docker-openwisp | ||
``` | ||
|
||
3. Configure: | ||
|
||
Please follow the [environment variable documentation](ENV.md) and customize your deployment of OpenWISP. | ||
Remember to change the values for [essential](ENV.md#Essential) and [security](ENV.md#Security) variables. | ||
|
||
4. Deploy: `make start` | ||
|
||
**Note: If you want to shutdown services for maintenance or any other purposes, please use `make stop`.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters