-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (47 loc) · 1 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
volumes:
db:
oradata:
services:
db:
image: postgres:14
ports:
- "5432:5432"
environment:
POSTGRES_USER: rolldebee
POSTGRES_PASSWORD: rolldebee
volumes:
- db:/var/lib/postgresql/data
oracle:
image: container-registry.oracle.com/database/free:23.5.0.0
ports:
- "1521:1521"
environment:
- ORACLE_PWD=oracle
volumes:
- oradata:/opt/oracle/oradata
- ./sql/oracle:/opt/oracle/scripts/startup
api:
image: rolldebee/api
build:
context: ./api
depends_on:
- db
ports:
- "8080:8080"
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/rolldebee
- SPRING_DATASOURCE_USERNAME=rolldebee
- SPRING_DATASOURCE_PASSWORD=rolldebee
- ORACLE_HOST=oracle
restart: on-failure
ui:
image: rolldebee/ui
build:
context: ./ui
depends_on:
- api
ports:
- "5173:5173"
environment:
- VITE_API_URL=http://127.0.0.1:8080
restart: on-failure