-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (47 loc) · 1.13 KB
/
docker-compose.yml
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
version: "3.3"
services:
oracle:
container_name: 'database-systems-exam_oracle'
image: "doctorkirk/oracle-19c"
ports:
- "1521:1521"
volumes:
- oracle-volume:/opt/oracle/oradata
- ./database/scripts/startup:/opt/oracle/scripts/startup
env_file:
- oracle.env
cloudbeaver:
image: "dbeaver/cloudbeaver:latest"
ports:
- "8978:8978"
volumes:
- cloudbeaver:/opt/cloudbeaver/workspace
backend:
depends_on:
- oracle
ports:
- "8081:80"
- "5678:5678"
env_file:
- .env
- oracle.env
build:
context: ./backend
dockerfile: backend.dockerfile
volumes:
- ./backend/app:/app
command: /start-reload.sh
#command: ["sh", "-c", "pip install debugpy -t /tmp && python /tmp/debugpy --listen 0.0.0.0:5678 -m uvicorn app.main:app --host 0.0.0.0 --port 80 --reload"]
frontend:
ports:
- "8080:8080"
build:
context: ./frontend
dockerfile: dev.frontend.dockerfile
volumes:
- ./frontend:/app
- ignore:/app/node_modules/
volumes:
cloudbeaver:
ignore:
oracle-volume: