services: peanut: image: brandawg93/peanut:latest ports: - "8050:8050" environment: - TZ=America/New_York - NUT_HOST=14.4.4.44 - NUT_PORT=3493 - NUT_USER=peanut - NUT_PASSWORD=${NUT_PASSWORD:-peanut_secret} volumes: - peanut_config:/config volumes: peanut_config: driver: local driver_opts: type: none o: bind device: /mnt/swarm_shared/legacy_volumes/peanut/