Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: added missing quotes to max-file in docker-compose.yml #3442

Merged
merged 1 commit into from Jul 3, 2023

Conversation

drumlinish
Copy link
Contributor

@drumlinish drumlinish commented Jul 1, 2023

The quotes fixes the error bellow:

$ docker-compose up -d
Creating network "docker_default" with the default driver
Creating docker_pictrs_1   ... error
Creating docker_postgres_1 ... 

ERROR: for docker_pictrs_1  Cannot create container for service pictrs: invalid JSON: json: cannot unmarshal number into Go struct field LogConfig.HostConfig.LogConfig.Config oCreating docker_postgres_1 ... error

ERROR: for docker_postgres_1  Cannot create container for service postgres: invalid JSON: json: cannot unmarshal number into Go struct field LogConfig.HostConfig.LogConfig.Config of type string

ERROR: for pictrs  Cannot create container for service pictrs: invalid JSON: json: cannot unmarshal number into Go struct field LogConfig.HostConfig.LogConfig.Config of type string

ERROR: for postgres  Cannot create container for service postgres: invalid JSON: json: cannot unmarshal number into Go struct field LogConfig.HostConfig.LogConfig.Config of type string
ERROR: Encountered errors while bringing up the project.

Testet with docker-compose version 1.29.2.

Note: The value is already in quotes in https://github.com/LemmyNet/lemmy-ansible/blob/main/templates/docker-compose.yml

@Nutomic Nutomic merged commit 682ca55 into LemmyNet:main Jul 3, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants