Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anechas/docker-examples

Examples of using Docker for various applications and services.
https://github.com/anechas/docker-examples

docker docker-compose docker-nginx docker-nodejs docker-ubuntu json-api json-server nextjs nginx nodejs react

Last synced: about 2 months ago
JSON representation

Examples of using Docker for various applications and services.

Awesome Lists containing this project

README

        

# Docker Examples

## nodejs-full-stack

```bash
$ cd nodejs-full-stack
$ docker-compose up
```

> backend running on http://localhost:1337 \
frontend running on http://localhost:8000

## nodejs-full-stack-combined

```bash
$ cd nodejs-full-stack-combined
$ docker build -t nodejs-full-stack-combined .
$ docker run --name my-app -p 8000:3000 -p 1337:1337 nodejs-full-stack-combined
```

> backend running on http://localhost:1337 \
frontend running on http://localhost:3000

## nodejs-full-stack-pm2

```bash
$ cd nodejs-full-stack-pm2
$ docker build -t nodejs-full-stack-pm2 .
$ docker run --name my-app -p 8000:3000 -p 1337:1337 nodejs-full-stack-pm2
```

> backend running on http://localhost:1337 \
frontend running on http://localhost:8000

## nodejs-full-stack-nginx

```bash
$ cd nodejs-full-stack-nginx
$ docker-compose up
```

> app running on http://localhost:8000

## nodejs-full-stack-ubuntu-nginx-pm2

```bash
$ cd nodejs-full-stack-ubuntu-nginx-pm2
$ docker build -t nodejs-full-stack-ubuntu-nginx-pm2 .
$ docker run --name my-app -p 8000:80 nodejs-full-stack-ubuntu-nginx-pm2
```

> app running on http://localhost:8000

## nodejs-full-stack-development

```bash
$ cd nodejs-full-stack-development
$ docker-compose up
```

> backend running on http://localhost:1337 \
frontend running on http://localhost:8000

## httpd-ssl

```bash
$ cd httpd-ssl
$ docker build . -t my-httpd
$ docker run --name my-httpd-server -p 80:80 -p 443:443 -d my-httpd
```

> app running on https://localhost

## mysql-phpmyadmin

```bash
$ cd mysql-phpmyadmin
$ docker-compose up
```
> mysql running on mysql://localhost:3306 \
phpmyadmin running on http://localhost:8888

## php-mysql-phpmyadmin

```bash
$ cd php-mysql-phpmyadmin
$ docker-compose up
```
> app running on http://localhost:8080 \
mysql running on mysql://localhost:3306 \
phpmyadmin running on http://localhost:8888

## elasticsearch-kibana-standalone

```bash
$ cd elasticsearch-kibana-standalone
$ docker-compose up
```
> elasticsearch running on http://localhost:9200 \
kibana running on mysql://localhost:5601 \

## elasticsearch-kibana-standalone

```bash
$ cd ubuntu-jenkins
$ docker build -t ubuntu-jenkins .
$ docker run --name jenkins-demo -p 8080 ubuntu-jenkins
```
> jenkins running on http://localhost:8080