-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 988 Bytes
/
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
version: "3.9"
services:
nginx:
image: nginx
container_name: sanhak-nginx-server
restart: always
ports:
- "8887:10080"
networks:
- sanhak-net
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
spring:
image: rhlehfndvkd7557/sanhak-spring:3
container_name: sanhak-spring-server
networks:
- sanhak-net
fast-api:
image: rhlehfndvkd7557/sanhak-fast-api:2
container_name: sanhak-fast-api-server
restart: always
ports:
- "8777:8777"
networks:
- sanhak-net
db:
image: mysql:latest
command: --default-authentication-plugin=mysql_native_password
container_name: sanhak-mysql-server
restart: always
environment:
MYSQL_DATABASE: hyundaitransys
MYSQL_USER: sanhak
MYSQL_PASSWORD: sanhak
MYSQL_ROOT_PASSWORD: rhleh2160
ports:
- "3333:3306"
volumes:
- ./mysql:/var/lib/mysql
networks:
- sanhak-net
networks:
sanhak-net: