-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
59 lines (55 loc) · 3.52 KB
/
docker-compose.yaml
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
54
55
56
57
58
59
version: "1"
networks:
api:
ipam:
config:
- subnet: 172.18.0.0/16
services:
server:
build:
context: .
dockerfile: Dockerfile-local
ports:
- "80:80"
environment:
CONTEXT_PATH: /tech-spring-solutions
SERVER_PORT: 80
DB_URL: jdbc:mysql://database:3306/dev?allowPublicKeyRetrieval=true
DB_USER: root
DB_PASSWORD: KBf9]xEjq~K
DB_DRIVER_CLASS: com.mysql.cj.jdbc.Driver
DB_TIMEOUT: 30000
DB_MAXIMUM_POOL_SIZE: 3
DB_DDL_AUTO: update
DB_SHOW_SQL: false
DB_SECONDARY_URL: jdbc:mysql://database:3306/rh?allowPublicKeyRetrieval=true
DB_SECONDARY_USER: root
DB_SECONDARY_PASSWORD: KBf9]xEjq~K
DB_SECONDARY_DRIVER_CLASS: com.mysql.cj.jdbc.Driver
DB_SECONDARY_TIMEOUT: 30000
DB_SECONDARY_MAXIMUM_POOL_SIZE: 3
DB_SECONDARY_DDL_AUTO: none
DB_SECONDARY_SHOW_SQL: false
DB_OPEN_VIEW: false
AWS_ENDPOINT: http://s3.amazonaws.com
AWS_ACCESS_KEY: YOUR_ACCESS_KEY
AWS_SECRET_KEY: YOUR_SECRET_KEY
AWS_REGION: YOUR_REGION_HERE
AWS_BUCKET_NAME: YOUR_BUCKET_HERE
SPRING_PROFILES_ACTIVE: prd
JWT_PUBLIC_KEY: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApD8Qvuha9CimRnLfUiZf gy8I3mhsZgmH6rxzGXyQhMfAna7bPXQ/0/6Gs65rHyIJ/8P2twHDRuvi6iBsMrpW JdLkmjOpu/usJ4SKElxlo9yWVd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SeHdlK2hWN5tn64cDY44caphyyvFyM IJUu4Q7YPBVlp3VXCjL9YITsX9t+p8wuz8TJoIarrOtKqjEJB1eF/ce0CpzlvR9b 2Rm+qdHv5Xc4Eh/9eMmzRjrQ8wKBgQC93BHGSwcUvBabF1C4jIsQ5NtGu9nTpFjo RvKRadLyqIeNYGc5/ap6zIVcw5xy5/kW5JepFswmr5Ojh4HCzioBfu0dY5HDgfWu InpoIsu0Sj8FTpG263ydgw20HYsG5vL2xM2Jy75TZ/mft1nBwIaXXCsNneWVbtod M62Hs1XLYQKBgQC5olJ6n9eld8zpbGFyXjl/gwx/3QHchr40z9huXt5OeHEktjpW hEi1uONpAMDMf1L8HrtdkeqvhcnMcGNK+gzSjMe6rTJqUSHkYaI4DO2ejQMZeWGH Y5TaRXpc8McRgPM1VDgjEoSQ/8xgLlTY0nPoA8T7x2ZVU6wI9XRsl1O5zQKBgDYE ZPI76nnVwcDCc27uXaqi0lhfnev/OGRtuxnwN9peZKKuqO/w4g4qHk90QBDZOx9u TlAHcnIXRjQim6KnMYBXcnMIHzK2yQWQPa9fJwHWlfOWlRKsETpnTQDP3vxJvRrE h44K782fKYBtlBXyBtkNmho3sFhBv8DLMTYIqgJBAoGAHgiEiU+bGB/hHuTN1ANr SJ3SgA0xZvcUz5ZEX1bfhvTP731BMwjrUK0t056JagpoUPZtZyK/eLFuCNBcqLWY SYtytevXud/u3KVpUAfEzrnmMlHunAmTsWbrrFk/HCq9Z+tjhJU4ldkqLm4jwZoO jgPIQeW2jpb4zDmRaFpr0nU=
networks:
- api
database:
container_name: database
image: bitnami/mysql:8.0.26-debian-10-r60
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: KBf9]xEjq~K
MYSQL_ROOT_USER: root
volumes:
- ./src/main/docker/mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
networks:
- api