Skip to content

Commit 8bd5c90

Browse files
authored
Fix issue that it can't access AWS credential (#46)
1 parent be8d493 commit 8bd5c90

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,13 @@ services:
4343
- BASE_IMAGE_OS=almalinux
4444
- BASE_IMAGE_TAG=9
4545
container_name: pgduck-server
46+
environment:
47+
AWS_SHARED_CREDENTIALS_FILE: /home/postgres/.aws/credentials
48+
AWS_CONFIG_FILE: /home/postgres/.aws/config
4649
volumes:
4750
- ./scripts/entrypoint-pgduck-server.sh:/entrypoint-pgduck-server.sh
4851
- ./scripts/init-pgduck-server.sql:/init-pgduck-server.sql
49-
- ${USERPROFILE}${HOME}/.aws:/root/.aws:ro
52+
- ${USERPROFILE}${HOME}/.aws:/home/postgres/.aws:ro
5053
- pgduck-unix-socket-volume:/home/postgres/pgduck_socket_dir
5154
- pg-18-tmp-dir-volume:/home/postgres/pgsql-18/data/base/pgsql_tmp
5255
- pg-17-tmp-dir-volume:/home/postgres/pgsql-17/data/base/pgsql_tmp

0 commit comments

Comments
 (0)