File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Customize configuration from docker-compose.yml and prod.yml to run the
2
+ # application with local data.
3
+ #
4
+ # In order to get the effective configuration, run
5
+ # docker compose -f docker-compose.yml -f prod.yml -f local-data.yml config
6
+ #
7
+
8
+ services :
9
+ web :
10
+ volumes :
11
+ # to use a WAR file from filesystem and avoid to build image every time
12
+ - ../../target/mystamps.war:/data/mystamps/mystamps.war:ro
13
+ db :
14
+ volumes :
15
+ - ./mysql_backup_mystamps.sql.gz:/docker-entrypoint-initdb.d/dump.sql.gz:ro
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ services:
17
17
- SERVER_SERVLET_SESSION_COOKIE_SECURE=false
18
18
volumes :
19
19
- ./application-prod.properties:/data/mystamps/application-prod.properties:ro
20
- # to use a WAR file from filesystem and avoid to build an image every time
21
- # - ../../target/mystamps.war:/data/mystamps/mystamps.war:ro
22
20
networks :
23
21
- internal-network
24
22
depends_on :
@@ -44,9 +42,6 @@ services:
44
42
- MYSQL_DATABASE=mystamps
45
43
ports :
46
44
- ' 3306:3306'
47
- # only for testing locally
48
- # volumes:
49
- # - ./mysql_backup_mystamps.sql.gz:/docker-entrypoint-initdb.d/dump.sql.gz:ro
50
45
networks :
51
46
- internal-network
52
47
You can’t perform that action at this time.
0 commit comments