Update network configuration

This commit is contained in:
Thomas Lovén 2021-08-21 23:20:34 +02:00
parent bd9d698e54
commit 117c2b7789
2 changed files with 9 additions and 12 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.env
/config/
/transcode/

View File

@ -2,25 +2,19 @@ version: "3.5"
networks:
web:
external: false
name: web
plex:
driver: macvlan
driver_opts:
parent: eno1
ipam:
config:
- subnet: 192.168.1.0/23
external: true
lan:
external: true
services:
plex:
image: plexinc/pms-docker:latest
container_name: plex
restart: always
restart: unless-stopped
networks:
web:
plex:
ipv4_address: <override me>
lan:
ipv4_address: ${PLEX_IP}
environment:
- PLEX_UID=1000
- PLEX_GID=1001