File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 30
30
# #########
31
31
32
32
system :
33
+ # @schema {"enum": [8000, 9000, 10000]}
34
+ ports : 8000
33
35
nginx :
34
36
# @option {"label": "Nginx version"}
35
37
# @schema {"enum": [1.18]}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ services:
20
20
target: nginx
21
21
restart: always
22
22
ports:
23
- - '8080 :80'
23
+ - '{{ add .Vars.system.ports 80 }} :80'
24
24
volumes:
25
25
- ./nginx/app.conf:/etc/nginx/conf.d/default.conf:ro
26
26
- ..:/srv:cached
@@ -40,7 +40,7 @@ services:
40
40
target: mariadb
41
41
restart: always
42
42
ports:
43
- - '8306 :3306'
43
+ - '{{ add .Vars.system.ports 306 }} :3306'
44
44
volumes:
45
45
- mariadb:/var/lib/mysql:delegated
46
46
- ./mariadb:/docker-entrypoint-initdb.d:ro
@@ -56,7 +56,7 @@ services:
56
56
target: phpmyadmin
57
57
restart: always
58
58
ports:
59
- - '8300 :80'
59
+ - '{{ add .Vars.system.ports 300 }} :80'
60
60
links:
61
61
- mariadb
62
62
@@ -73,7 +73,7 @@ services:
73
73
target: maildev
74
74
restart: always
75
75
ports:
76
- - '8025 :80'
76
+ - '{{ add .Vars.system.ports 25 }} :80'
77
77
78
78
#######
79
79
# App #
You can’t perform that action at this time.
0 commit comments