Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/amamov/fullstack-just-docker

fullstack boilerplate based in docker environment. just docker!
https://github.com/amamov/fullstack-just-docker

boilerplate docker docker-compose docker-image docker-swarm dockerfile nestjs nextjs nginx nginx-proxy

Last synced: 14 days ago
JSON representation

fullstack boilerplate based in docker environment. just docker!

Awesome Lists containing this project

README

        

# Fullstack! - Just Docker

> fullstack boilerplate based in docker environment. just docker!

- nestjs (typescript)
- nextjs (typescript)
- mongodb, mongo-express
- nginx, reverse-proxy, portainer
- docker, docker-compose, docker-swarm, docker-stack
- vscode

## Getting Start

### requirements

- installed docker, docker-compose
- settings env_files

### development mode

> `docker-compose -f dev.compose.yml up --build`

- compose logs : `docker-compose -f dev.compose.yml logs`

- compose server down : `docker-compose -f dev.compose.yml down`

- container clean up : `docker rm -f $(docker ps -aq)`

### production mode

> `docker swarm init` && `docker stack deploy -c compose.yml `

- `docker stack ls`

- `docker service ls`

- `docker service ps `

- `docker service logs `

- `docker stack rm `