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: networks:
web: web:
external: false external: true
name: web lan:
plex: external: true
driver: macvlan
driver_opts:
parent: eno1
ipam:
config:
- subnet: 192.168.1.0/23
services: services:
plex: plex:
image: plexinc/pms-docker:latest image: plexinc/pms-docker:latest
container_name: plex container_name: plex
restart: always restart: unless-stopped
networks: networks:
web: web:
plex: lan:
ipv4_address: <override me> ipv4_address: ${PLEX_IP}
environment: environment:
- PLEX_UID=1000 - PLEX_UID=1000
- PLEX_GID=1001 - PLEX_GID=1001