version: '3' networks: backend: external: false services: backend: image: registry.kmlabz.com/onspot/backend restart: always environment: - ONSPOT_REDIS_URL="redis://db:6379/0" - ONSPOT_ENCODED_SECRET_KEY="emdlc2RmYnZoa2xyYWl3ZmJkdmtzZ2Vhd2ZiaWx2a3M=" ports: - "127.0.0.1:8080:8080" networks: - backend db: image: redis restart: always ports: - "127.0.0.1:6379:6379" networks: - backend