Skip to content

Missing main-compose.yaml template file #19

@khawarizmus

Description

@khawarizmus

Steps to reproduce:

1- Init a self-hosted project

powersync init self-hosted

2- Start the configuration

powersync docker configure

Output:

✔ Select a database module for a replication source. Use external to configure an existing database. postgres
✔ Select a storage module for PowerSync bucket metadata. Use external to configure an existing database. postgres
    Error: ENOENT: no such file or directory, open 
    '/Users/amine/.nvm/versions/node/v22.21.1/lib/node_modules/powersync/node_modules/@powersync/cli-plugin-docker/dist/templates/main-compose.yaml'
    Code: ENOENT

It seems that the main-compose.yaml file is missing.

ls /Users/amine/.nvm/versions/node/v22.21.1/lib/node_modules/powersync/node_modules/@powersync/cli-plugin-docker/dist/templates/
bucket-storage       source-database      templates-index.d.ts templates-index.js

Related: https://discord.com/channels/1138230179878154300/1478891030366650509

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions