Configure traefik and nextcloud to use a static IP for collabora

This commit is contained in:
Stephan Porada
2021-05-03 12:19:55 +02:00
parent 5b80f9091c
commit ca84d8174b
2 changed files with 7 additions and 6 deletions

View File

@ -3,11 +3,12 @@ version: '3.5'
networks:
default:
driver: bridge
ipam:
config:
- subnet: 172.27.0.0/24
socket_proxy:
external:
name: socket_proxy
services:
# Only accept needed incoming docker API calls
socket-proxy:
@ -92,8 +93,9 @@ services:
# The official v2 Traefik docker image
image: traefik:v2.3
networks:
- socket_proxy
- default
default:
ipv4_address: 172.27.0.100
socket_proxy: null
env_file: live.env
container_name: "traefik"
# Enables the web UI and tells Traefik to listen to docker