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

Add note re docker logs to README #173

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Add note re docker logs to README #173

merged 1 commit into from
Jun 11, 2024

Conversation

Phu2
Copy link
Contributor

@Phu2 Phu2 commented Jun 11, 2024

The dockerised playground uses plain lein run to start the app inside the container, see https://github.com/metafacture/metafacture-playground/blob/main/Dockerfile.prod#L57.
If you want to view the output of this command use docker compose logs on the host. Useful options are -f (like tail -f) and `-t´ (show timestamps), for more see https://docs.docker.com/reference/cli/docker/compose/logs/

This will replace our current usage of nohup lein run &.

the docker logs command replaces nohup.out
@Phu2 Phu2 requested review from fsteeg and dr0i June 11, 2024 10:07
@Phu2 Phu2 merged commit 66f9bef into main Jun 11, 2024
2 checks passed
@Phu2 Phu2 deleted the docker-logs branch June 11, 2024 14:53
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.

3 participants