Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielblagy/employees
https://github.com/danielblagy/employees
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/danielblagy/employees
- Owner: danielblagy
- Created: 2023-01-14T13:00:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-15T12:32:42.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T18:44:43.793Z (3 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# employees
A test application to familiarize yourself with docker.
### Create images and start api and postgres containers
```
docker compose up --build
```### Stops containers and removes containers, networks, volumes, and images created by `up`
```
docker compose down
```## Previous version where only one service was being implemented
### Create image
```
docker build -t employees-app .
```### Run container from created image
```
docker run -p 5000:5000 -tid employees-app
```