These are chat archives for allegro/ralph

Aug 2015
Aug 27 2015 15:41

hey, some help would be appreciated. I'm not too familiar with tweaking yaml configuration files. So i'm trying to use the default one, but getting errors when running docker-compose build:

Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.main";, line 39, in main
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command", line 21, in sys_dispatch
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command";, line 27, in dispatch
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command", line 24, in dispatch
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command";, line 57, in perform_command
File "/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command";, line 73, in get_project
File "/code/build/docker-compose/out00-PYZ.pyz/compose.config";, line 107, in find
File "/code/build/docker-compose/out00-PYZ.pyz/compose.config";, line 558, in load_yaml
File "/code/build/docker-compose/out00-PYZ.pyz/yaml";, line 93, in safe_load
File "/code/build/docker-compose/out00-PYZ.pyz/yaml";, line 71, in load
File "/code/build/docker-compose/out00-PYZ.pyz/yaml.constructor";, line 37, in get_single_data
File "/code/build/docker-compose/out00-PYZ.pyz/yaml.composer";, line 36, in get_single_node
File "/code/build/docker-compose/out00-PYZ.pyz/yaml.composer";, line 58, in compose_document
File "/code/build/docker-compose/out00-PYZ.pyz/yaml.parser";, line 118, in get_event
File "/code/build/docker-compose/out00-PYZ.pyz/yaml.parser";, line 193, in parse_document_end
File "/code/build/docker-compose/out00-PYZ.pyz/yaml.scanner";, line 128, in peek_token
File "/code/build/docker-compose/out00-PYZ.pyz/yaml.scanner";, line 220, in fetch_more_tokens
File "/code/build/docker-compose/out00-PYZ.pyz/yaml.scanner";, line 580, in fetch_value
yaml.scanner.ScannerError: mapping values are not allowed here
in "./docker-compose.yml", line 6, column 19

Mateusz Kurek
Aug 27 2015 15:48
@ivan-sv did you changed anything in this config or just copied-pasted it?
Aug 27 2015 15:50
I've not modified anything. I'm unsure what values to change.