Skip to content

app service missing from server docker-compose.yml #218

Description

@vsilent

Description

When deploying with type: custom and an app section, the generated server-side docker-compose.yml only contains services entries — the main app service is missing.

Affected Projects

GoAccess

Steps to Reproduce

  1. Define an app with type: custom in stacker.yml:
    app:
      type: custom
      image: nginx:alpine
      ports:
        - "8080:80"
  2. Deploy to cloud or existing server
  3. Check the generated docker-compose.yml on the server

Expected Behavior

Both the app and services containers should be listed in the compose file.

Actual Behavior

Only services entries appear. The main app can only be served by additional configuration.

Environment

  • Stacker CLI version: latest
  • Deploy target: cloud, server

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions