#!/bin/bash # PUBLIC_HOSTNAME=$(curl -s ifconfig.me) PUBLIC_HOSTNAME="localhost" # Change ports as desired REDDIT_PORT=28080 # WIKIPEDIA_PORT=28081 SHOPPING_PORT=28082 SHOPPING_ADMIN_PORT=28083 GITLAB_PORT=28084 # MAP_PORT=28085 HOMEPAGE_PORT=20080 RESET_PORT=20081 # Original webarena ports # SHOPPING_PORT=7770 # SHOPPING_ADMIN_PORT=7780 # REDDIT_PORT=9999 # GITLAB_PORT=8023 # WIKIPEDIA_PORT=8888 # MAP_PORT=3000 # HOMEPAGE_PORT=4399 SHOPPING_URL="http://${PUBLIC_HOSTNAME}:${SHOPPING_PORT}" SHOPPING_ADMIN_URL="http://${PUBLIC_HOSTNAME}:${SHOPPING_ADMIN_PORT}/admin" REDDIT_URL="http://${PUBLIC_HOSTNAME}:${REDDIT_PORT}/forums/all" GITLAB_URL="http://${PUBLIC_HOSTNAME}:${GITLAB_PORT}/explore" # WIKIPEDIA_URL="http://${PUBLIC_HOSTNAME}:${WIKIPEDIA_PORT}/wikipedia_en_all_maxi_2022-05/A/User:The_other_Kiwix_guy/Landing" # MAP_URL="http://${PUBLIC_HOSTNAME}:${MAP_PORT}" MAP_URL="https://www.openstreetmap.org/" # download the archives from the webarena instructions # https://github.com/web-arena-x/webarena/tree/main/environment_docker # Download the additional openstreetmap docker files from Zenodo (see README) # - shopping_final_0712.tar # - shopping_admin_final_0719.tar # - postmill-populated-exposed-withimg.tar # - gitlab-populated-final-port8023.tar # - openstreetmap-website-db.tar.gz # - openstreetmap-website-web.tar.gz # - openstreetmap-website.tar.gz # - wikipedia_en_all_maxi_2022-05.zim ARCHIVES_LOCATION="/home/yuyr/webarena_docker_tar"