Open wade-liwei opened 2 years ago
docker run --network=kong-net \ --rm pantsel/konga:latest \ -c prepare \ -a postgres \ -u postgresql://kong:kongpass@kong-database:5432/konga_db
docker run -d -p 8002:8002 --network=kong-net \ -e "DB_ADAPTER=postgres" \ -e "DB_HOST=kong-database" \ -e "DB_USER=kong" \ -e "DB_PASSWORD=kongpass" \ -e "DB_DATABASE=konga_db" \ -e "KONGA_HOOK_TIMEOUT=120000" \ -e "NODE_ENV=production" \ --name konga \ pantsel/konga
access http://ip:8002 failed
Konga listens on port 1337
docker run -d -p 8002:1337 --network=kong-net ......
docker run --network=kong-net \ --rm pantsel/konga:latest \ -c prepare \ -a postgres \ -u postgresql://kong:kongpass@kong-database:5432/konga_db
docker run -d -p 8002:8002 --network=kong-net \ -e "DB_ADAPTER=postgres" \ -e "DB_HOST=kong-database" \ -e "DB_USER=kong" \ -e "DB_PASSWORD=kongpass" \ -e "DB_DATABASE=konga_db" \ -e "KONGA_HOOK_TIMEOUT=120000" \ -e "NODE_ENV=production" \ --name konga \ pantsel/konga
access http://ip:8002 failed