Skip to content

Commit

Permalink
test on remote machine
Browse files Browse the repository at this point in the history
  • Loading branch information
ASabovic committed Oct 1, 2024
1 parent 68dd850 commit a0ded86
Show file tree
Hide file tree
Showing 63 changed files with 17,535 additions and 28 deletions.
1 change: 1 addition & 0 deletions data/V7.0-001_x86_64
Binary file added data/r2.00_x86_64/g/%ydbaim.dat
Binary file not shown.
Binary file added data/r2.00_x86_64/g/%ydbaim.mjl
Binary file not shown.
Binary file added data/r2.00_x86_64/g/%ydbocto.dat
Binary file not shown.
Binary file added data/r2.00_x86_64/g/%ydbocto.mjl
Binary file not shown.
Binary file added data/r2.00_x86_64/g/yottadb.dat
Binary file not shown.
Binary file added data/r2.00_x86_64/g/yottadb.gld
Binary file not shown.
Binary file added data/r2.00_x86_64/g/yottadb.mjl
Binary file not shown.
51 changes: 23 additions & 28 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,27 @@
version: '3.8'

services:
yottadb:
image: yottadb/yottadb:latest
container_name: yottadb_container
ports:
- "1337:1337"
environment:
- YOTTA_DB_PORT=1337
image: download.yottadb.com/yottadb/yottadb-debian:latest-master
container_name: yottadb
volumes:
- ./data:/data
command: |
bash -c "
source /usr/local/lib/yottadb/r1.32_x86_64/ydb_env_set &&
ydb -run ^GDE &&
ydb -run ^ZSY &&
while true; do sleep 1000; done;
"
- ./ydb-data:/data
environment:
- YDB_DIR=/data
entrypoint: ["sh", "-c", "tail -f /dev/null"]
#entrypoint: ["sh", "-c", "tail", "-f", "/dev/null"]

yottadb_init:
depends_on:
- yottadb
image: yottadb/yottadb:latest
container_name: yottadb_init
volumes:
- ./data:/data
entrypoint: ["/bin/bash", "-c"]
command: |
"
source /usr/local/lib/yottadb/r1.32_x86_64/ydb_env_set &&
ydb -run \"SET ^myglobal('test')='Hello, YottaDB!'\" &&
echo 'Value set in YottaDB: ^myglobal(test) = Hello, YottaDB!'
"
# yottadb_init:
# depends_on:
# - yottadb
# image: download.yottadb.com/yottadb/yottadb-debian:latest-master
# container_name: yottadb_init
# volumes:
# - ./ydb-data:/data # Same volume to ensure shared data
# entrypoint: ["/bin/bash", "-c"]
# command: |
# ydb <<< 'SET ^myglobal("test")="Hello again, YottaDB!"' &&
# echo 'Value set in YottaDB: ^myglobal(test) = Hello again, YottaDB!'

volumes:
ydb-data:
1 change: 1 addition & 0 deletions ydb-data/V7.0-005_x86_64
5 changes: 5 additions & 0 deletions ydb-data/logs/%ydbgui.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Mon Sep 30 15:16:25 UTC 2024
Mon Sep 30 15:18:32 UTC 2024
Mon Sep 30 15:20:03 UTC 2024
Mon Sep 30 15:23:52 UTC 2024
Mon Sep 30 15:30:23 UTC 2024
4 changes: 4 additions & 0 deletions ydb-data/logs/%ydboctoAdmin.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Mon Sep 30 15:16:25 UTC 2024
Enter password for user ydb:
Re-enter password for user ydb:
Successfully added user: "ydb" with "readwrite+allowschemachanges" permissions
5 changes: 5 additions & 0 deletions ydb-data/logs/npm.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Mon Sep 30 15:16:25 UTC 2024

added 1 package, and audited 2 packages in 13s

found 0 vulnerabilities
5 changes: 5 additions & 0 deletions ydb-data/logs/rocto.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Mon Sep 30 15:16:25 UTC 2024
Mon Sep 30 15:18:32 UTC 2024
Mon Sep 30 15:20:03 UTC 2024
Mon Sep 30 15:23:52 UTC 2024
Mon Sep 30 15:30:23 UTC 2024
19 changes: 19 additions & 0 deletions ydb-data/node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a0ded86

Please sign in to comment.