https://github.com/danielblagy/employees
https://github.com/danielblagy/employees
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/danielblagy/employees
- Owner: danielblagy
- Created: 2023-01-14T13:00:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-15T12:32:42.000Z (over 3 years ago)
- Last Synced: 2025-10-31T00:52:54.810Z (8 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
```