forked from hyunsupLee/react-study-o
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 905 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (41 loc) · 905 Bytes
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
version: "3.9"
services:
studyo:
container_name: studyo
image: obama1004/studyo:latest
ports:
- "80:80"
- "443:443"
volumes:
- /etc/letsencrypt:/etc/letsencrypt:ro
depends_on:
- tjspring
restart: unless-stopped
networks:
- app-network
tjspring:
container_name: tjspring
image: obama1004/tjspring:latest
environment:
- SPRING_DATASOURCE_URL=${DB_URL}
- SPRING_DATASOURCE_USERNAME=${DB_USERNAME}
- SPRING_DATASOURCE_PASSWORD=${DB_PASSWORD}
depends_on:
- ora
restart: unless-stopped
networks:
- app-network
ora:
container_name: ora
image: oracleinanutshell/oracle-xe-11g
ports:
- "1521:1521"
- "8080:8080"
environment:
- ORACLE_ALLOW_REMOTE=true
restart: unless-stopped
networks:
- app-network
networks:
app-network:
driver: bridge