This commit is contained in:
parent
c20b5f7c98
commit
7e5f8b7ee2
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
helm/
|
||||
venv/
|
||||
.idea/
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -130,5 +130,4 @@ dmypy.json
|
||||
|
||||
#Pycharm
|
||||
.idea/
|
||||
*.iml
|
||||
*wav
|
||||
*.iml
|
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
db:
|
||||
image: postgres:14
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_USER: mealsapi
|
||||
POSTGRES_PASSWORD: meals
|
||||
POSTGRES_DB: mealsdb
|
||||
|
||||
mealsapi:
|
||||
image: registry.kmlabz.com/tormakris/meals_homework
|
||||
restart: always
|
||||
environment:
|
||||
DATABASE_URI: "postgresql://mealsapi:meals@db:5432/mealsdb"
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
Loading…
Reference in New Issue
Block a user