Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Issue trying to use docker compose #58

@kalepail

Description

@kalepail

Trying to wrap this up into a clean docker-compose.yml file but running into an issue with a CLI depreciation. Odd that it works when running as two separate docker run commands.

Here's my docker-compose.yml

version: "2"

services:

  db_compat_complete_test:
    image: stellar/stellar-core-state:latest
    restart: always
    env_file:
      - ./examples/compat_complete.env
    volumes:
      - ./opt/data:/data
      - ./opt/postgresql:/var/lib/postgresql/data
    ports:
      - 5431:5432

  compat_complete_test:
    image: stellar/stellar-core:latest
    restart: always
    env_file:
      - ./examples/compat_complete.env
    volumes_from:
      - db_compat_complete_test
    network_mode: "host"
    command: /start compat_complete_test fresh
    depends_on:
      - db_compat_complete_test

Everything fires up fine but gets caught in an error loop with this output

compat_complete_test_1     | Using DEPRECATED command-line syntax.
compat_complete_test_1     | Please refer to documentation for new syntax.
compat_complete_test_1     | 
compat_complete_test_1     | 2019-04-02T22:26:42.004 <startup> [default FATAL] Got an exception: Failed to parse 'stellar-core.cfg' :Failed to parse value type at line 1 [DeprecatedCommandLine.cpp:457]
docker-stellar-core_compat_complete_test_1 exited with code 1

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