Last active
April 18, 2025 04:23
-
-
Save Adammatthiesen/bfe7c78b2e73996fb3ef1b36ed606a57 to your computer and use it in GitHub Desktop.
Turso libSQL for Coolify
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
services: | |
libsql: | |
image: ghcr.io/tursodatabase/libsql-server:latest | |
platform: linux/amd64 | |
ports: | |
# Used for inter-node communication | |
# see https://github.com/tursodatabase/libsql/blob/main/docs/DOCKER.md#sqld_grpc_listen_addr | |
- "5001:5001" | |
# Port 8080 is exposed using the 'SERVICE_FQDN_LIBSQL_8080' so unless you need direct access | |
# instead of access through coolify-proxy leave 8080 commented out. | |
# - "8080:8080" | |
environment: | |
- SERVICE_FQDN_LIBSQL_8080 | |
# Generated JWT Token (NOT THE KEY FILE) | |
- 'SQLD_AUTH_JWT_KEY=${SQLD_AUTH_JWT_KEY}' | |
- 'SQLD_NODE=${SQLD_NODE:-primary}' | |
volumes: | |
- 'libsqldata:/var/lib/sqld' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment