Skip to content

Conversation

@hthetiot
Copy link

@hthetiot hthetiot commented Mar 9, 2025

Goal

Allow easy compilation and hosting of anet using docker container.

Tasks

  • Compilation of anet for linux via docker with x86_64
  • Compilation of anet with aarch64 support for lighter cost server support
  • Fix Modern MacOs compilation
  • Add .gitignore for file generated by compilation to be ignored in repository
  • Fix minor compilation GCC errors
  • Fix backport 3rdparty clean.bat to bash linux and remove "3rdparty" duplicate source code (zip vs non zip)
  • Add docker apache2 with cgi support for /home/alink/public_html
  • Add docker cron support for /home/alink/etc/crontab2.lst
  • Add supervisor to start apache2 and cron as alink
  • Host anet server on linux via docker running as Readme2.txt describe.

Testing:

git clone https://github.com/Dark-Reign/anet.git --branch develop anet-docker
cd anet-docker
docker compose up --build

@hthetiot hthetiot changed the title Develop Various Change to compile and serve anet using Docker Mar 9, 2025
@hthetiot hthetiot marked this pull request as draft March 9, 2025 17:57
@hthetiot
Copy link
Author

hthetiot commented Mar 9, 2025

Unfortulatly cron fail to start anet3srv with /tmp/anet3srv.log logs:

No server freeze file /tmp/anet3srv.dat.2 found
dpGetParameterLong returns dpio filedesc:18
len 6, myAdrLen 6
len 6, myAdrLen 6
len 6, myAdrLen 6
SessionType is 65535
Error creating session.

@hthetiot hthetiot marked this pull request as ready for review March 9, 2025 22:05
@hthetiot hthetiot changed the title Various Change to compile and serve anet using Docker Compile and serve anet using Docker Mar 9, 2025
@hthetiot
Copy link
Author

May be you really need a public IP / DNS setup for it to work, still debuging

anet-server  | dptab_deleteTable(dp, ndbug, 5)
anet-server  | dptab_deleteTable(dp, ndbug, 5)
anet-server  | dptab_deleteTable(dp, ndbug, 5)
anet-server  | dptab_deleteTable(dp, ndbug, 3)
anet-server  | dptab_deleteTable: no table with key ndbug
anet-server  | dpClose: Removing session context p:0xaaaadb6849b0.
anet-server  | dpClose: Found session context, id=0, to remove.
anet-server  | dpOpenLocalResult: t:461181579 session join failed, reason:18
anet-server  | dpOpenLocalResult: calling callback 0xaaaaaddd3630
anet-server  | Error creating session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant