This commit is contained in:
parent
c20b5f7c98
commit
7e5f8b7ee2
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
helm/
|
||||||
|
venv/
|
||||||
|
.idea/
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -131,4 +131,3 @@ dmypy.json
|
|||||||
#Pycharm
|
#Pycharm
|
||||||
.idea/
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
*wav
|
|
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