Skip to content

Commit b195d59

Browse files
committed
feat: add maintenance service configuration to Docker Compose
1 parent ec99925 commit b195d59

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,19 @@ services:
123123
- local-private-net
124124
expose:
125125
- "6379"
126+
maintenance:
127+
image: wickerlabs/maintenance
128+
volumes:
129+
- ${DOCKER_CONF_NGINX_PATH:-./conf/dist/nginx-conf}:/etc/nginx/conf.d/
130+
- ${DOCKER_CONF_CERTS_PATH:-./conf/dist/certs/}:/etc/nginx/certs/
131+
environment:
132+
PORT: 443
133+
RESPONSE_CODE: 503
134+
THEME: dark
135+
ports:
136+
- 443:443
137+
profiles: [maint]
138+
network_mode: "host"
126139

127140
networks:
128141
local-shared-net:

0 commit comments

Comments
 (0)