Update compose for new nas

This commit is contained in:
Ryan Shepherd 2024-03-01 11:15:33 -05:00
parent d723b74c0c
commit 2fa4e2b4be
1 changed files with 12 additions and 11 deletions

View File

@ -1,22 +1,23 @@
version: "3.9" version: '3.8'
volumes: volumes:
trmstatic: trmstaticdata:
driver: local driver: local
driver_opts: driver_opts:
type: "nfs" type: "nfs"
o: "addr=10.0.0.3,nolock,soft,rw" o: "addr=10.0.0.2,nolock,soft,rw"
device: "/mnt/SSDScratch/Docker/trmstatic" device: ":/mnt/NVME/Docker/trmstatic"
services: services:
www: trmstatic:
image: dockerm.rymon.net:5000/trmstatic
build: . build: .
restart: unless-stopped
ports: ports:
- 14001:80 # These ports are in format <host-port>:<container-port>
- '14001:80'
environment: environment:
- TZ=America/New_York PUID: 1000
PGID: 1000
TZ: America/New_York
volumes: volumes:
- trmstatic:/var/www - trmstaticdata:/var/www