Last active
August 30, 2024 01:22
-
-
Save LinkSake/368f82f6e88e3d38aad7ef9b8bd71833 to your computer and use it in GitHub Desktop.
Livebook Docker Compose file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: `$ docker compose up -d` then visit `http://localhost:8080/` | |
services: | |
livebook: | |
restart: "always" | |
pull_policy: "always" | |
container_name: "<SOME_NAME>" | |
image: "ghcr.io/livebook-dev/livebook" | |
build: | |
context: . | |
args: | |
UID: "1000" # Get with `id -u` | |
GID: "1000" # Get with `id -g` | |
environment: | |
LIVEBOOK_IP: "0.0.0.0" | |
LIVEBOOK_PASSWORD: "<SOME_PASSWORD>" | |
ports: | |
- "8080:8080" | |
- "8081:8081" | |
volumes: | |
- "./data:/data" # Make sure that there's a *data* directory on the working directory | |
volumes: | |
livebook-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment