Skip to content

Commit

Permalink
FIX: consistent naming for image
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricev committed May 26, 2020
1 parent 162f239 commit 394a076
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

env:
# TODO: Change variable to your image's name.
IMAGE_NAME: todolist
IMAGE_NAME: simple-todo-list

jobs:
# Run tests.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# simple-todo-list
Simple web app handling todos used as a material content for kubernetes training

## Usage
## Example
A docker-compose file is provided as an illustration on how the container should be used.

```
docker-compose up
```
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ services:
ports:
- "8000:8080"
image:
sokube/todos:latest
docker.pkg.github.com/sokube/simple-todo-list/simple-todo-list:latest
environment:
DB_USER: "todos-user"
DB_HOST: "database"
DB_NAME: "todos"
DB_PORT: 5432
DB_PASSWORD: "mysecretpassword"
depends_on:
- database

database:
image:
Expand Down

0 comments on commit 394a076

Please sign in to comment.