-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (60 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
65 lines (60 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
services:
app:
build:
context: .
dockerfile: .docker/Dockerfile
env_file:
- .env
image: jetshift:dev
container_name: jetshift
ports:
- "${APP_PORT:-8000}:8000"
- "${PREFECT_PORT:-4200}:4200"
environment:
APP_PORT: ${APP_PORT:-8000}
PREFECT_PORT: ${PREFECT_PORT:-4200}
volumes:
- .:/app:delegated
depends_on:
- redis
- postgres
networks:
- default
# jsui:
# image: jetshift/jetshift-ui:dev
# container_name: jetshift_ui
# environment:
# NEXT_PUBLIC_API_BASE_URL: http://jetshift:8000/api
# NEXT_PUBLIC_WS_URL: ws://jetshift:8000/ws/
# NEXT_PUBLIC_PREFECT_URL: http://jetshift:4200
# ports:
# - "4000:3000"
# networks:
# - default
# depends_on:
# - app
redis:
image: redis:7-alpine
container_name: jetshift_redis
ports:
- "6379:6379"
networks:
- default
postgres:
image: postgres:15-alpine
container_name: jetshift_postgres
environment:
POSTGRES_DB: jetshift
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 123456
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- default
volumes:
postgres_data:
networks:
default:
driver: bridge