version: '3.8' services: app: build: context: . dockerfile: Dockerfile ports: - "8080:8080" volumes: - ./instance:/app/instance restart: unless-stopped