init commit. Makefile. Dokerimage, Dockerfile, Docker-compose.yaml

This commit is contained in:
valitovgaziz
2024-08-04 22:40:36 +05:00
commit 0487e3771a
8 changed files with 82 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
services:
# db:
# image: postgres:16
# env_file:
# - .env
# environment:
# - POSTGRES_USER=${DB_USER}
# - POSTGRES_PASSWORD=${DB_PASSWORD}
# - POSTGRES_DB=${DB_NAME}
# ports:
# - "${DB_PORT}:${DB_PORT}"
# volumes:
# - postgres-db:/var/lib/postgresql/data
api:
build:
context: ./api
dockerfile: Dockerfile
env_file:
- .env
ports:
- "${SERVER_PORT}:${SERVER_PORT}"
volumes:
- .:/usr/src/app
# depends_on:
# - db
# volumes:
# postgres-db: