Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
903 commits
Select commit Hold shift + click to select a range
c2a0727
Get correct intersection of legacy api permissions instead of new CRU…
correct-horse-battery-bench May 12, 2026
1ca85af
Add tests regarding jwt api token permission intersection
correct-horse-battery-bench May 12, 2026
5a0f539
Fix test_apitoken tests
correct-horse-battery-bench May 12, 2026
d294374
2050 Fixed test problem with re-declaring functions
andreas-oh May 13, 2026
f3110f9
2050 Added missing TestMocks.php
andreas-oh May 13, 2026
73c9abe
update test_apitoken test
correct-horse-battery-bench May 13, 2026
337b1a6
Fix api docs (#2024)
jessevz May 13, 2026
afebd3b
Removed isChunkingAvilable references
Eric-Wasson May 18, 2026
4b812f5
Removed isChunkingAvailable from the docs
Eric-Wasson May 18, 2026
cc3d1dd
2050 Removed error logs in favour of exceptions
andreas-oh May 18, 2026
8176aef
2050 Converted tabs to spaces
andreas-oh May 18, 2026
4f754e2
Fixed CORS errors for scripts without origins and for origins without…
Eric-Wasson May 18, 2026
6c93f0d
2050 Throw Internal error instead of generic exception
andreas-oh May 18, 2026
19af436
apitoken needs an override to skip delete, fixed post to create api t…
s3inlc May 18, 2026
cff48a1
fixed typo
s3inlc May 18, 2026
0c19115
Merge pull request #2067 from hashtopolis/1479-jwt-api-permission-fix
s3inlc May 18, 2026
faeeb3a
incorporated changes into generator
s3inlc May 18, 2026
df0bc60
2050 Cleaned up after review
andreas-oh May 18, 2026
40ade2b
setting alias properly for right group primary key
s3inlc May 18, 2026
8eaae13
Merge pull request #2083 from hashtopolis/fix-dba-generator-inconsist…
s3inlc May 18, 2026
952ae7d
Merge pull request #2085 from hashtopolis/2014-fix-sorting
s3inlc May 18, 2026
05ec137
2044 bug missing color labeling of tasks (#2053)
inadequate777 May 19, 2026
8887c66
Removed mail error handling
Eric-Wasson May 19, 2026
43bbd85
Merge pull request #2055 from hashtopolis/2050-enhancement-creation-o…
s3inlc May 19, 2026
c49f896
Merge pull request #2075 from hashtopolis/1342-crackertype-isChunking…
Eric-Wasson May 19, 2026
1986d00
Moved display error handling to dockerfile
Eric-Wasson Mar 18, 2026
59a1494
Fixed faq and tests
Eric-Wasson Mar 18, 2026
13939cb
Fixed array error
Eric-Wasson Mar 18, 2026
244b62b
Removed mail error handling
Eric-Wasson May 19, 2026
3d38d33
Change PostgreSQL data volume path in Docker Compose
s3inlc May 19, 2026
bca4368
Fixed float cast warnings on the old UI for dev builds
Eric-Wasson May 19, 2026
f72a65c
Merge pull request #2087 from hashtopolis/1251-exception-details
s3inlc May 19, 2026
d382243
Phpunit Tests refactoring (#2091)
s3inlc May 19, 2026
189f587
added estimated time, timepsent, currentspeed and currentprogress to …
May 20, 2026
a74da81
2074 bug chunk count missing on task details and percentage sign miss…
inadequate777 May 20, 2026
23834e5
Added phpunit tests for CORS
Eric-Wasson May 20, 2026
76747aa
small cleanups
Eric-Wasson May 20, 2026
41ece2c
2019 enhancement backend endpoint for hash heatmap (#2068)
jessevz May 20, 2026
41891b1
reworked api reference
ObsidianOracle May 20, 2026
31c1d20
Merge pull request #2101 from hashtopolis/2084-bug-re-add-searcheddis…
s3inlc May 20, 2026
6e5fdeb
generating coverage report output on ci runs (#2102)
s3inlc May 20, 2026
4491aab
added some more comments and style adjustments
s3inlc May 20, 2026
020c45a
Added more CORS phpunit tests
Eric-Wasson May 20, 2026
28f4051
added unit tests for mapping functions of AbstractModelFactory
s3inlc May 20, 2026
26e5877
Merge pull request #2104 from hashtopolis/api-docs-rework-oracle
s3inlc May 20, 2026
8740cca
Merge pull request #2080 from hashtopolis/2078-cors-errors
s3inlc May 20, 2026
faec68d
added tests for AbstractModelFactory save()
s3inlc May 20, 2026
267858b
made timeseries tests using hashlist filtering to avoid less problems…
s3inlc May 20, 2026
d3b551e
Unit tests and type information AccessControl
andreas-oh May 20, 2026
ceedf32
completed tests for update() and save()
s3inlc May 20, 2026
3723cec
adjusting the namespace structure for the tests, so the tests are in …
s3inlc May 20, 2026
7eb6b7c
Merge branch 'dev' into dba-unittests
s3inlc May 20, 2026
6a0087e
fixed some issues in the CORS tests
s3inlc May 20, 2026
19b7fc4
Added unit tests and type for parameters and returns
andreas-oh May 20, 2026
f41b62c
adding migration to fix inconsistency on the HashType table
s3inlc May 20, 2026
48ee734
do not change the type to avoid migration problems
s3inlc May 20, 2026
e91166e
do not change the type to avoid migration problems
s3inlc May 20, 2026
16d0c74
disable checks for the change
s3inlc May 20, 2026
e365c89
fixed required changes
s3inlc May 20, 2026
334aa33
access groups also should be enforced on admin permissions
s3inlc May 20, 2026
5c9cbfa
Merge pull request #2113 from hashtopolis/dba-unittests
s3inlc May 20, 2026
5a1b8d3
try to cover the tests with phpstan also
s3inlc May 20, 2026
7f9efc3
include everything
s3inlc May 20, 2026
c39fadb
assert to make sure phpstan knows the type
s3inlc May 20, 2026
520c3c5
Merge pull request #2116 from hashtopolis/access-group-fix
s3inlc May 21, 2026
88649c5
check for existing of array key before accessing it
s3inlc May 21, 2026
19ac1b5
Added tests for AccessGroupUtils
andreas-oh May 21, 2026
1621e68
Merge branch 'dev' into test/testcoverage-util-1
andreas-oh May 21, 2026
aa4d32b
Merged dev, added tets
andreas-oh May 21, 2026
1aa78f2
2120: Silent test warnings from util.php reading server variables
andreas-oh May 21, 2026
675c63f
Fixed file upload metadata handling
Eric-Wasson May 21, 2026
4d2d230
2120 Fixed review comments
andreas-oh May 21, 2026
4e56223
2120 Missed type info on functions
andreas-oh May 21, 2026
9f91fcd
Fixed pagination with reverse sort on no unique keys
May 21, 2026
bb33a22
half way through abstract model factory tests
s3inlc May 21, 2026
938caf1
Merge pull request #2126 from hashtopolis/2125-broken-file-uploads
s3inlc May 21, 2026
19cedcd
Merge pull request #2122 from hashtopolis/2121-fix-warning
s3inlc May 21, 2026
0b59484
Merge pull request #2127 from hashtopolis/fix-pagination-bug
s3inlc May 21, 2026
c56a748
Merge pull request #2115 from hashtopolis/test/testcoverage-util-1
osaerdna May 21, 2026
d309437
Update time filter to use one year from current time (#2133)
s3inlc May 21, 2026
1565751
Merge pull request #2118 from hashtopolis/phpstan-change
s3inlc May 21, 2026
f014aaa
Changed handlers to handle Throwables instead of Exception
andreas-oh May 21, 2026
d5205e7
First test unit
MLdev2026 May 21, 2026
d406e30
First unit test
MLdev2026 May 21, 2026
1c8734b
Changed errorhandling to throwables for old user_api
andreas-oh May 21, 2026
748afda
completed all functions to test except two remaining filters
s3inlc May 21, 2026
7dcf071
fixed type mismatch on test discovered by phpstan
s3inlc May 21, 2026
e4f63b5
Merge pull request #2143 from hashtopolis/phpstan-fix
osaerdna May 21, 2026
a45abc6
Merge branch 'dev' into fix/handle-both-exceptions-and-errors
andreas-oh May 21, 2026
a7e31b1
Merge branch 'dev' into dba-unittests2
s3inlc May 21, 2026
284b2b2
Merge pull request #2139 from hashtopolis/fix/handle-both-exceptions-…
s3inlc May 21, 2026
3bb80b3
Merge branch 'dev' into unit-tests-C
MLdev2026 May 21, 2026
38c332c
added tests for ->filter()
s3inlc May 21, 2026
3e10bb5
rust 1.94 in dockerfile
inadequate777 May 22, 2026
990dfcd
completed AbstractModelFactory tests
s3inlc May 22, 2026
ad90de2
Merge pull request #2149 from hashtopolis/2148-bug-devcontainer-sqlx-…
s3inlc May 22, 2026
6553bf7
Merge branch 'dev' into dba-unittests2
s3inlc May 22, 2026
909a59b
check for null value before strlen
s3inlc May 22, 2026
40a471a
fixed failing tests, check phpstan possibility
s3inlc May 22, 2026
4bb95e4
Added assigned agents to taskwrapperdisplay
May 22, 2026
cfe3559
Merge pull request #2154 from hashtopolis/2146-bug-taskwrapperdisplay…
s3inlc May 22, 2026
639e92b
try to make phpstan happy
s3inlc May 22, 2026
661db8a
skipping phpstan on dba factory test
s3inlc May 22, 2026
ef846a2
checking to only do ->inc() calls on values needed
s3inlc May 22, 2026
8edadbb
Merge pull request #2155 from hashtopolis/warning-fix1
s3inlc May 22, 2026
caa683e
2120 Added tests and type info for AccessUtils
andreas-oh May 22, 2026
85331bc
Adressing issue #1928
coiseiw May 22, 2026
de98e71
Merge pull request #2156 from hashtopolis/doc_rework_dev
s3inlc May 22, 2026
70a0d12
Merge branch 'dba-unittests2' into dev
s3inlc May 22, 2026
8f8dcca
2120 Added tests and parameter types for AccountUtils
andreas-oh May 22, 2026
62985e5
added first aggregation tests and fixes
s3inlc May 22, 2026
d194bfd
fixed random range to avoid potential errors
s3inlc May 22, 2026
3d473b7
completed aggregation tests
s3inlc May 22, 2026
5718559
Merge pull request #2150 from hashtopolis/dba-unittests2
s3inlc May 22, 2026
e00ebcf
Integration of the manual to setup smtp server in hashtopolis
coiseiw May 22, 2026
726a24c
changes on classes begins with "C"
MLdev2026 May 22, 2026
99c3731
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
s3inlc May 22, 2026
40fe560
testing name construction function
s3inlc May 22, 2026
9db4424
2120 Cleaned up
andreas-oh May 22, 2026
21a24b8
Merge pull request #2163 from hashtopolis/test/testcoverage-util-2
s3inlc May 22, 2026
4122eb6
Fixed phpstan complaints, added php unit cache file to ignore
andreas-oh May 22, 2026
a17e427
Merge pull request #2161 from hashtopolis/unittest-aggregation
s3inlc May 22, 2026
7cd9c5a
added some TaskUtil tests
Eric-Wasson May 22, 2026
1581258
fixed a phpstan error
Eric-Wasson May 22, 2026
e78a08e
including references and location of tabs for more details
coiseiw May 22, 2026
e9430ea
fixed phpstan mistakes
Eric-Wasson May 22, 2026
707ee2b
deleted the underscores
MLdev2026 May 22, 2026
4106989
Merge pull request #2162 from hashtopolis/SMTP-Configuration-in-the-docs
s3inlc May 22, 2026
cdd7bec
Merge pull request #2165 from hashtopolis/more-util-tests
s3inlc May 22, 2026
9f76e44
Merge remote-tracking branch 'origin/dev' into dev
s3inlc May 22, 2026
f9e1ee0
Merge branch 'unit-tests-C' of github.com:hashtopolis/server into uni…
MLdev2026 May 22, 2026
32fcb7b
Fixed redocly open api errors (#2164)
jessevz May 22, 2026
d29c50b
merged tests to use functions in testbase
s3inlc May 22, 2026
10d55d2
Refactored TaskUtils tests
Eric-Wasson May 26, 2026
4ff7d09
Merge pull request #2166 from hashtopolis/unittest-refactor
s3inlc May 26, 2026
e7edf3d
Merge pull request #2144 from hashtopolis/unit-tests-C
s3inlc May 26, 2026
9865693
Correctly use task object to aggregate task information
s3inlc May 27, 2026
20a3897
Fixed PHPStan errors
Eric-Wasson May 27, 2026
5212137
Merge pull request #2170 from hashtopolis/taskutils-tests
s3inlc May 27, 2026
22ac93d
Merge branch 'dev' into s3inlc-patch-1
s3inlc May 28, 2026
d58a96f
moved keyspace outside if
s3inlc May 28, 2026
0f00226
fix: URL-encode and shell-escape sqlx migration DSN
linuxkd May 28, 2026
e9bd632
Merge pull request #2169 from hashtopolis/s3inlc-patch-1
s3inlc May 29, 2026
54d3c49
Merge pull request #2175 from linuxkd/fix/migration-dsn-escaping
s3inlc Jun 1, 2026
66aaf62
Restored .gitignore contents
andreas-oh Jun 1, 2026
d665303
Merge pull request #2181 from hashtopolis/fix/gitignore-overwrite
s3inlc Jun 1, 2026
7616457
adding migration to fix mysql silently altering table entries on auto…
s3inlc Jun 2, 2026
838c80d
Merge pull request #2192 from hashtopolis/mysql-migration-fix
s3inlc Jun 2, 2026
38f094f
Fixed apitoken permission check by correctly parsing the permissions
Jun 2, 2026
7701b21
Fixed copilot suggestion
Jun 2, 2026
714d55f
Merge pull request #2196 from hashtopolis/fix-api-token-bug
s3inlc Jun 3, 2026
13cfac1
prepare for release
s3inlc Jun 4, 2026
0eebfa7
added crackingTime aggregated fieldset for agent to allow the fronten…
s3inlc Jun 16, 2026
664adc1
fixed small issue
s3inlc Jun 16, 2026
85a51c2
completed all aggregations for Task and PreTask, added columnFilter w…
s3inlc Jun 16, 2026
50a150b
completed all aggregated functions needed
s3inlc Jun 16, 2026
a7e2d0b
changed annotations
s3inlc Jun 16, 2026
2139346
fixed test to use aggregation for accessing totalNumberOfChunks
s3inlc Jun 16, 2026
36ac65a
Fixed pagination bug
Eric-Wasson Jun 16, 2026
73545a7
Added exists filter for acl check
Jun 17, 2026
b714d57
check aggregation fieldsets for validity
s3inlc Jun 17, 2026
b0ba601
fixed check
s3inlc Jun 17, 2026
11185a5
made aggregations completely generic, so we can avoid having lots of …
s3inlc Jun 17, 2026
d6bf65f
removed outdated includes from dba init
s3inlc Jun 17, 2026
0b5cdfd
added some more unittests
s3inlc Jun 17, 2026
6bc2cb1
adjusted styling and added additional test
s3inlc Jun 17, 2026
82511d5
removed phpstan suggestions (asserting true for tests just to pass)
s3inlc Jun 17, 2026
9530220
fixed phpdoc inconsistency
s3inlc Jun 17, 2026
a6378d5
fixing tests and asserting some risky tests
s3inlc Jun 17, 2026
c67c9de
fixed assertions, the backtick test will still fail due to postgres
s3inlc Jun 17, 2026
3cefa0d
added migration to add backtick to postgres default blacklist charact…
s3inlc Jun 17, 2026
4ecf801
Merge branch 'blacklist-characters-pg-fix' into unittests-part-2
s3inlc Jun 17, 2026
0aa1a5e
make one tests only having back ticks so that is specifically tested …
s3inlc Jun 17, 2026
a80b1e0
fixed unescaped character
s3inlc Jun 17, 2026
17cda1d
forgot the comments prefix for placeholder
s3inlc Jun 17, 2026
e27ec66
Merge branch 'blacklist-characters-pg-fix' into unittests-part-2
s3inlc Jun 17, 2026
f26e197
Merge pull request #2234 from hashtopolis/2232-dba-legacy-includes
s3inlc Jun 17, 2026
7ff457e
Merge pull request #2236 from hashtopolis/blacklist-characters-pg-fix
s3inlc Jun 17, 2026
dc996fd
Merge pull request #2235 from hashtopolis/unittests-part-2
s3inlc Jun 17, 2026
310f2a1
prepare for generations
s3inlc Jun 18, 2026
c751e37
throwing an error on non-normal tasks is not correct to handle this, …
s3inlc Jun 18, 2026
6563e5e
fixed path
s3inlc Jun 18, 2026
33c9dc5
added test which does the check that an aggregation which is not poss…
s3inlc Jun 18, 2026
473ff71
Merge pull request #2230 from hashtopolis/aggregation-improvements
s3inlc Jun 18, 2026
105d883
Fixed pagination bug
Eric-Wasson Jun 16, 2026
44ab2d0
preparations for generation migrations
s3inlc Jun 19, 2026
abe0c71
fix handling of binary element also for mysql
s3inlc Jun 19, 2026
705ef59
switching to new migration generation, added worflow for upgrade tests
s3inlc Jun 19, 2026
95038dd
fixed to oldest docker version available
s3inlc Jun 19, 2026
7e0e853
fixed and logging added
s3inlc Jun 19, 2026
d952dc0
fix path for postgres test data
s3inlc Jun 19, 2026
cc0e30d
remove wrong outdated include
s3inlc Jun 19, 2026
065cea5
extended workflow to give more debug info, also only run postgres whe…
s3inlc Jun 19, 2026
c1e6ae5
print checksums in hex on log
s3inlc Jun 19, 2026
0577210
fix checksum to non CRLF version
s3inlc Jun 19, 2026
cbc11f5
added some more useful upgrade test steps and unified workflow syntax
s3inlc Jun 22, 2026
722ebf2
basic contribution guidelines added
s3inlc Jun 22, 2026
903ddf6
added some simple tests for migration utils where possible
s3inlc Jun 22, 2026
e500af2
setting the default admin email to a valid address
s3inlc Jun 22, 2026
a8fc57c
useNewBench is patchable as required in #2211
s3inlc Jun 22, 2026
8fa9a6f
added unittests for ComparisonFilter and ConcatColumn
s3inlc Jun 22, 2026
4988b9c
added unittests for ConcatLikeFilterInsensitive and ConcatOrderFilter
s3inlc Jun 22, 2026
457af3c
added unittests for ContainFilter
s3inlc Jun 22, 2026
53b5ce2
added unittests for JoinFilter LikeFilterInsensitive and LikeFilter
s3inlc Jun 22, 2026
1b72e0e
fixed tests
s3inlc Jun 22, 2026
5283d04
updated all phpdocs to document exceptions
s3inlc Jun 22, 2026
326e1b3
changed $testid to $testId to use camel case naming as usual
s3inlc Jun 22, 2026
35515dd
removed test which phpstan did not like due to being too obvious.
s3inlc Jun 22, 2026
d7a3938
added tests for LimitFilter and MassUpdateSet
s3inlc Jun 22, 2026
56f493b
Merge pull request #2243 from hashtopolis/contribution-md
s3inlc Jun 22, 2026
7b067f4
Merge pull request #2244 from hashtopolis/2223-default-admin-email
s3inlc Jun 22, 2026
20d2572
Merge pull request #2245 from hashtopolis/2211-benchtype-patch
s3inlc Jun 22, 2026
c7dff76
added tests for OrderFilter, PaginationFilter and UpdateSet
s3inlc Jun 22, 2026
f34e25e
added assertions to make Stan happy
s3inlc Jun 22, 2026
e8af88a
added tests for dba Util
s3inlc Jun 22, 2026
d9f9d3c
fixing value to be below limit in mysql
s3inlc Jun 22, 2026
0835a9b
added tests for QueryFilter, QueryFilterNoCase and QueryFilterWithNull
s3inlc Jun 22, 2026
00ec799
fixed numeric value issue correctly for mysql
s3inlc Jun 22, 2026
eb05373
fixed numeric value issue correctly for mysql (signed...)
s3inlc Jun 22, 2026
f98dc2a
Replaced all instance off innerjoins to agents accessgorup with exist…
Jun 22, 2026
cd50141
finished AbstractModelFactory tests
s3inlc Jun 22, 2026
194b5a6
updated failing tests to do not cause issues with mysql's different b…
s3inlc Jun 22, 2026
cfcf578
Fixed review suggestions
Jun 22, 2026
0fc0833
Fixed bug where chunks wont be returned if agentId is null
Jun 23, 2026
fa8c012
Changed to '=' operator to be consistent
Jun 23, 2026
05cd52e
Merge pull request #2250 from hashtopolis/2233-bug-filteracl-not-working
s3inlc Jun 23, 2026
b3285a7
Merge branch 'dev' into phpunittests-dba
s3inlc Jun 23, 2026
387ebe1
Added importing exists filter which was forgotten
Jun 23, 2026
4f3e0c2
Merge pull request #2254 from hashtopolis/add-fogotten-import
s3inlc Jun 23, 2026
d361a62
added tests for the ExistsFilter
s3inlc Jun 23, 2026
d302335
Added test for pagination bug
Eric-Wasson Jun 23, 2026
0749244
completed test for Util.php class, some may drop out on refactoring l…
s3inlc Jun 23, 2026
971d159
Merge pull request #2256 from hashtopolis/2208-hashlist-pagination-bug
s3inlc Jun 23, 2026
d4454b4
added tests for Encryption, SConfig and StartupConfig
s3inlc Jun 23, 2026
01ca572
removed assertion tests which are solved with typing
s3inlc Jun 23, 2026
0f0a360
Refactor queries in order to fetch Chunk and Hash entities at once (#…
novasam23 Jun 23, 2026
3e8d0db
Merge pull request #2247 from hashtopolis/phpunittests-dba
s3inlc Jun 23, 2026
24b7236
Potential fix for pull request finding
s3inlc Jun 23, 2026
38fc4b2
Add and extend tests for aggregate fields of Task and SuperTask (#2260)
novasam23 Jun 23, 2026
98711dc
added documentation for versioning, branch handling and release process
s3inlc Jun 23, 2026
d833c6f
Merge pull request #2259 from hashtopolis/unittests-part3
s3inlc Jun 23, 2026
b44bf84
Merge pull request #2263 from hashtopolis/release-doc
s3inlc Jun 23, 2026
962fff9
release preparations
s3inlc Jun 24, 2026
318e1c0
Merge pull request #2264 from hashtopolis/preparation-v1.0.0-rc2
s3inlc Jun 24, 2026
fdf69c7
after release version adjust
s3inlc Jun 24, 2026
49e0a31
update with typo fix done in master
s3inlc Jun 24, 2026
b3ca72e
Merge branch 'master' into dev
s3inlc Jun 24, 2026
9f47c7c
Merge pull request #2237 from hashtopolis/2098-migrations-generations
s3inlc Jun 24, 2026
03f0352
Fix include in dba/init
s3inlc Jun 24, 2026
b35ad0f
Merge pull request #2272 from hashtopolis/dba-init-fix
s3inlc Jun 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
"name": "Hashtopolis Devcontainer",
"dockerComposeFile": "docker-compose.yml",
"dockerComposeFile": "docker-compose.mysql.yml",
"service": "hashtopolis-server-dev",
"runServices": [
"hashtopolis-db-dev"
Expand All @@ -13,6 +13,7 @@
"xdebug.php-debug",
"bmewburn.vscode-intelephense-client",
"editorconfig.editorconfig",
"eamodio.gitlens",
"github.vscode-pull-request-github",
"ms-python.python",
"ms-python.flake8",
Expand Down
52 changes: 52 additions & 0 deletions .devcontainer/docker-compose.mysql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
version: "3.7"
services:
hashtopolis-server-dev:
container_name: hashtopolis-server-dev
build:
context: ..
target: hashtopolis-server-dev
args:
- CONTAINER_USER_CMD_PRE
- CONTAINER_USER_CMD_POST
environment:
HASHTOPOLIS_DB_TYPE: mysql
HASHTOPOLIS_DB_USER: hashtopolis
HASHTOPOLIS_DB_PASS: hashtopolis
HASHTOPOLIS_DB_HOST: hashtopolis-db-dev
HASHTOPOLIS_DB_DATABASE: hashtopolis
HASHTOPOLIS_APIV2_ENABLE: 1
depends_on:
- hashtopolis-db-dev
ports:
- "8080:80"
volumes:
# This is where VS Code should expect to find your project's source code
# and the value of "workspaceFolder" in .devcontainer/devcontainer.json
- ..:/var/www/html
- hashtopolis-server-dev:/usr/local/share/hashtopolis:Z
# - ./jwks.json:/keys/jwks.json:ro
networks:
- hashtopolis_dev
hashtopolis-db-dev:
container_name: hashtopolis-db-dev
image: mysql:8.4
restart: always
ports:
- "3306:3306"
volumes:
- hashtopolis-db-dev:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: hashtopolis
MYSQL_DATABASE: hashtopolis
MYSQL_USER: hashtopolis
MYSQL_PASSWORD: hashtopolis
networks:
- hashtopolis_dev
volumes:
hashtopolis-db-dev:
hashtopolis-server-dev:

networks:
hashtopolis_dev:
# This network will also be used by the python-agent
name: hashtopolis_dev
52 changes: 52 additions & 0 deletions .devcontainer/docker-compose.postgres.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
version: "3.7"
services:
hashtopolis-server-dev:
container_name: hashtopolis-server-dev
build:
context: ..
target: hashtopolis-server-dev
args:
- CONTAINER_USER_CMD_PRE
- CONTAINER_USER_CMD_POST
environment:
HASHTOPOLIS_DB_TYPE: postgres
HASHTOPOLIS_DB_USER: hashtopolis
HASHTOPOLIS_DB_PASS: hashtopolis
HASHTOPOLIS_DB_HOST: hashtopolis-db-dev
HASHTOPOLIS_DB_DATABASE: hashtopolis
HASHTOPOLIS_APIV2_ENABLE: 1
depends_on:
- hashtopolis-db-dev
ports:
- "8080:80"
volumes:
# This is where VS Code should expect to find your project's source code
# and the value of "workspaceFolder" in .devcontainer/devcontainer.json
- ..:/var/www/html
- hashtopolis-server-dev:/usr/local/share/hashtopolis:Z
# - ./jwks.json:/keys/jwks.json:ro
networks:
- hashtopolis_dev
hashtopolis-db-dev:
container_name: hashtopolis-db-dev
image: postgres:18
restart: always
ports:
- "5432:5432"
volumes:
- hashtopolis-db-dev:/var/lib/postgresql
environment:
POSTGRES_DB: hashtopolis
POSTGRES_USER: hashtopolis
POSTGRES_PASSWORD: hashtopolis
networks:
- hashtopolis_dev

volumes:
hashtopolis-db-dev:
hashtopolis-server-dev:

networks:
hashtopolis_dev:
# This network will also be used by the python-agent
name: hashtopolis_dev
50 changes: 0 additions & 50 deletions .devcontainer/docker-compose.yml

This file was deleted.

Loading
Loading