Initial commit
This commit is contained in:
17
Justfile
Normal file
17
Justfile
Normal file
@@ -0,0 +1,17 @@
|
||||
set dotenv-load
|
||||
|
||||
run_sling:
|
||||
docker run -it --rm \
|
||||
-v ${PWD}/replication.yaml:/replication.yaml \
|
||||
-v ${PWD}/storage:/storage \
|
||||
-e POSTGRES="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB?sslmode=disable" \
|
||||
-e SLING_DISABLE_TELEMETRY=true \
|
||||
docker.io/slingdata/sling run -r /replication.yaml
|
||||
|
||||
run:
|
||||
docker run -it --rm \
|
||||
-v ${PWD}/replication.yaml:/replication.yaml \
|
||||
-v ${PWD}/storage:/storage \
|
||||
-e POSTGRES="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB?sslmode=disable" \
|
||||
--entrypoint bash \
|
||||
docker.io/slingdata/sling:v1.4.24
|
||||
Reference in New Issue
Block a user