-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
53 lines (50 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
53
version: "3.3"
services:
# nginx:
# depends_on:
# - springboot
# image: localhost:5000/deviad-nginx
# restart: always
# ports:
# - "8081:80"
# networks:
# - simplicity_backend
springboot:
depends_on:
- db-service
image: localhost:5000/simplicity-springdemo
restart: always
environment:
- SERVER_PORT=5050
- DB_NAME=springdemo
- DB_USERNAME=springuser
- DB_PASSWORD=springpassword
- ACTIVE_PROFILE=development
- CLIENT_ID=fooClientIdPassword
- DB_HOSTNAME=db-service
- CLIENT_SECRET=secret
- APP_HOSTNAME=localhost
- DDL_AUTO=create-drop
- JWT_SIGNING_KEY=supersecretkey
- DB_DBMS=mariadb
ports:
- "5050:5050"
networks:
- simplicity_backend
db-service:
image: wodby/mariadb
volumes:
- db-data:/var/lib/mysql
environment:
- MYSQL_USER=springuser
- MYSQL_PASSWORD=springpassword
- MYSQL_DATABASE=springdemo
- MYSQL_ROOT_PASSWORD=springdemo
ports:
- "3336:3306"
networks:
- simplicity_backend
volumes:
db-data:
networks:
simplicity_backend: