1
0
mirror of https://git.fsfe.org/fsfe-system-hackers/reverse-proxy synced 2025-05-03 16:25:26 +02:00

Properly connect containers to the bridge network

This commit is contained in:
Vincent Lequertier 2019-04-02 18:54:55 +02:00
parent 66eee44e2c
commit 9f3915cc0d
No known key found for this signature in database
GPG Key ID: 6CD601F050AC5A49

@ -5,6 +5,7 @@ services:
build:
context: rp
image: rp
network_mode: "bridge"
restart: always
ports:
- "80:80"
@ -60,4 +61,4 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- rp
command: /bin/sh -c 'docker network connect bridge rp rp-letsencrypt rp-errorpage'
command: /bin/sh -c 'docker network connect bridge rp-errorpage'