|
@@ -1,4 +1,4 @@
|
|
|
-# Barcode
|
|
|
+# Barcode-Docker
|
|
|
- Backend
|
|
|
- Frontend
|
|
|
- MYsql
|
|
@@ -23,3 +23,21 @@ or install Docker CE 18.03 from Docker’s repositories for Ubuntu or Debian:
|
|
|
- RUN `curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -`
|
|
|
- RUN `add-apt-repository "deb https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"`
|
|
|
- RUN `apt-get update && apt-get install -y docker-ce=$(apt-cache madison docker-ce | grep 18.03 | head -1 | awk '{print $3}')`
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+### Install [Docker-Compose](https://docs.docker.com/compose/install/) On your OS.
|
|
|
+Example: install docker on Ubuntu server 16.04.4.
|
|
|
+
|
|
|
+- RUN `curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose`
|
|
|
+- RUN `chmod +x /usr/local/bin/docker-compose`
|
|
|
+
|
|
|
+
|
|
|
+### Clone [Barcode-Docker](https://gogs.earthsquad.global/abdofarag/barcode-frontend-backend-docker)
|
|
|
+
|
|
|
+- RUN `git clone https://gogs.earthsquad.global/abdofarag/barcode-frontend-backend-docker`
|
|
|
+
|
|
|
+
|
|
|
+### Start Barcode APP
|
|
|
+
|
|
|
+- RUN `docker-compose up -d --build`
|