Closed inventorematto closed 3 years ago
My guess is you want to make all the data persistent. If that's the case, you might want to add following volumes.
/mnt/DockerData/trasa/db:/var/lib/postgresql/data
in postgres container /mnt/DockerData/trasa/redis:/data
in redis container/mnt/DockerData/trasa/config/:/etc/trasa
in trasa container/mnt/DockerData/trasa/sessions:/var/trasa/sessions
in trasa containerI've replaced "accessproxy" with "trasa" if that's all right.
Thanks dude!
Hello everyone!!! I was looking for a project like this since a year! Than here you're. I would like to set up a semi-permanent solution for my remote access needs, and i use for all my project the docker compose v2 standard managed by portainer.
Here what i've done until now...
version: '2' services: db: container_name: db networks: trasa: environment:
dmz:
networks: dmz: external: name: dmz trasa: internal: name: trasa
My main goal is to have everithing (db, redis, config etc...) in "/mnt/DockerData/accessproxy/" path. Can someone help me with this???? Thanks in advance, inventorematto