services: ironmount-dev: build: context: . dockerfile: Dockerfile target: development container_name: ironmount restart: unless-stopped privileged: true environment: - NODE_ENV=development ports: - "4096:4097" volumes: - /var/run/docker.sock:/var/run/docker.sock - /run/docker/plugins:/run/docker/plugins - ./data/volumes/:/volumes - ./data/repositories/:/repositories # - /proc:/host/proc:ro - ./data:/data - ./apps/client/app:/app/apps/client/app - ./apps/server/src:/app/apps/server/src ironmount-prod: build: context: . dockerfile: Dockerfile target: production container_name: ironmount restart: unless-stopped privileged: true ports: - "4096:4096" volumes: - /var/run/docker.sock:/var/run/docker.sock - /run/docker/plugins:/run/docker/plugins - /var/lib/ironmount/volumes/:/var/lib/ironmount/volumes:rslave - /var/lib/repositories/:/var/lib/repositories - /proc:/host/proc:ro - ironmount_data:/data volumes: ironmount_data: driver: local