Skip to content

Fixing Docker Compose #1010

Open
Open
@thdelmas

Description

@thdelmas

Description
Docker Compose fails when running it

  • Tested on macOS Big Sur - version 11.6

Why

Solving this issue aims to simplify two things:

  • Onboarding new contributors by providing an easy plug&play setup
  • Deploying services and their updates on the servers

Level

Level required to conclude this issue
Beginner

Current behavior

Currently running docker-compose up will not work

gitpay-frontend-1 | SyntaxError: Unexpected token {
gitpay-frontend-1 | npm info lifecycle frontend@1.0.0~dev: Failed to exec dev script
gitpay-frontend-1 | npm ERR! code ELIFECYCLE
gitpay-frontend-1 | npm ERR! errno 2
gitpay-frontend-1 | npm ERR! frontend@1.0.0 dev: `webpack serve --progress`
gitpay-frontend-1 | npm ERR! Exit status 2
gitpay-frontend-1 | npm ERR!
gitpay-frontend-1 | npm ERR! Failed at the frontend@1.0.0 dev script.
gitpay-frontend-1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
gitpay-frontend-1 |
gitpay-frontend-1 | npm ERR! A complete log of this run can be found in:
gitpay-frontend-1 | npm ERR!  /root/.npm/_logs/2023-09-20T16_43_22_681Z-debug.log

Expected behavior

After cloning the repo from main branch and running docker-compose up should set-up the project locally and all services should be ready to listen

Useful links

Screenshot attached

No Screenshots

How to reproduce the user scenario

  • Scenario 1

    • Clone the project from main branch
    • cd into the repo
    • Run docker-compose up
  • Scenario 2

    • Clone the project from main branch
    • cd into the repo
    • Run docker-compose -f docker-compose-linux.yml up

What you will need to complete this issue

  • Optional: UML of the infra and services

Tips

  • No tips

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions