2023-06-04 00:12:42 +03:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
frontend:
|
|
|
|
env_file:
|
|
|
|
- ./frontend/.env
|
|
|
|
build:
|
|
|
|
context: frontend
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
container_name: web
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./frontend/:/app
|
|
|
|
- /app/node_modules
|
|
|
|
- /app/.next
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
2023-07-17 09:57:27 +03:00
|
|
|
backend-core:
|
2023-06-04 00:12:42 +03:00
|
|
|
env_file:
|
2023-07-17 09:57:27 +03:00
|
|
|
- ./backend/core/.env
|
2023-06-04 00:12:42 +03:00
|
|
|
build:
|
2023-07-18 17:34:08 +03:00
|
|
|
context: backend/core
|
|
|
|
dockerfile: Dockerfile
|
2023-07-17 09:57:27 +03:00
|
|
|
container_name: backend-core
|
2023-06-04 00:12:42 +03:00
|
|
|
restart: always
|
|
|
|
volumes:
|
2023-07-17 09:57:27 +03:00
|
|
|
- ./backend/core/:/code/
|
2023-06-04 00:12:42 +03:00
|
|
|
- ~/.config/gcloud:/root/.config/gcloud
|
|
|
|
ports:
|
|
|
|
- 5050:5050
|