-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.net.SocketException: Permission denied #117
Comments
@dtvuong version: '3.1'
services:
local-data-api:
image: koxudaxi/local-data-api
restart: always
environment:
ENGINE: PostgreSQLJDBC
POSTGRES_HOST: db
POSTGRES_PORT: 5432
POSTGRES_USER: postgres
POSTGRES_PASSWORD: example
RESOURCE_ARN: 'arn:aws:rds:us-east-1:123456789012:cluster:dummy'
SECRET_ARN: 'arn:aws:secretsmanager:us-east-1:123456789012:secret:dummy'
ports:
- "8080:8080"
command: >
java -server
-XX:+UnlockExperimentalVMOptions
-XX:+UseContainerSupport
-XX:+UseG1GC
-XX:MaxGCPauseMillis=100
-XX:+UseStringDeduplication
-jar local-data-api.jar
-port=8080
db:
image: postgres:10.7-alpine
restart: always
environment:
POSTGRES_PASSWORD: example
POSTGRES_DB: test
ports:
- "5432:5432"
|
@koxudaxi どうもありがとうございます。 |
@dtvuong |
@koxudaxi I tested by aws cli
=> Got OK result But execute query from java spring app(Lib: rds-data-api-client-library-java)
=> There're got errors.
Logs in local-data-api container
|
@jackychang113 |
I had this permission problem in gitlab CI pipelines with v0.6.4. Upgrading to v0.6.10 helped. Thanks! 🚀 |
Describe the bug
I got the below error when docker-compose up.
To Reproduce
Steps to reproduce the behavior:
docker-compose -f docker-compose-postgres.yml up
** Environment
The text was updated successfully, but these errors were encountered: