-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.override.yaml
46 lines (41 loc) · 1.04 KB
/
docker-compose.override.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
version: "3.7"
services:
db:
command: --default-authentication-plugin=mysql_native_password
volumes:
- type: volume
source: vgl-db-data
target: /var/lib/mysql
- type: volume
source: vgl-stageIn
target: /var/lib/vgl/stageIn
# - type: bind
# source: ./src/main/db/mysql/anvgl.sql
# target: /docker-entrypoint-initdb.d/anvgl.sql
environment:
MYSQL_ROOT_PASSWORD: foobar
# MYSQL_USER: vgl
# MYSQL_PASSWORD: my-secret-pw
# MYSQL_DATABASE: vgl
adminer:
image: adminer
restart: always
ports:
- 8081:8080
api:
build:
context: .
ports:
- 8080:8080
volumes:
- type: bind
source: ./application.yaml
target: /usr/local/tomcat/webapps/ROOT/WEB-INF/classes/application.yaml
- type: bind
source: ./application-registries.yaml
target: /usr/local/tomcat/webapps/ROOT/WEB-INF/classes/application-registries.yaml
volumes:
vgl-db-data:
external: true
vgl-stageIn:
external: true