File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ install_dokploy() {
8484 endpoint_mode=" "
8585 if is_proxmox_lxc; then
8686 echo " ⚠️ WARNING: Detected Proxmox LXC container environment!"
87- echo " Adding --endpoint-mode dnsrr to Docker service for LXC compatibility."
87+ echo " Adding --endpoint-mode dnsrr to Docker services for LXC compatibility."
8888 echo " This may affect service discovery but is required for LXC containers."
8989 echo " "
9090 endpoint_mode=" --endpoint-mode dnsrr"
@@ -188,13 +188,15 @@ install_dokploy() {
188188 --env POSTGRES_DB=dokploy \
189189 --env POSTGRES_PASSWORD=amukds4wi9001583845717ad2 \
190190 --mount type=volume,source=dokploy-postgres,target=/var/lib/postgresql/data \
191+ $endpoint_mode \
191192 postgres:16
192193
193194 docker service create \
194195 --name dokploy-redis \
195196 --constraint ' node.role==manager' \
196197 --network dokploy-network \
197198 --mount type=volume,source=dokploy-redis,target=/data \
199+ $endpoint_mode \
198200 redis:7
199201
200202 # Installation
You can’t perform that action at this time.
0 commit comments