diff --git a/Dockerfile b/Dockerfile index f743bde..2f3cdfe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ JWT_ISSUER=${JWT_ISSUER} \ JWT_SECRET_KEY=${JWT_SECRET_KEY} \ CLIENT_ID=${CLIENT_ID} \ CLIENT_SECRET=${CLIENT_SECRET} \ -REDIRECT_URI=${REDIRECT_URI} +REDIRECT_URI=${REDIRECT_URI} \ +AWS_ACCESS_KEY=${AWS_ACCESS_KEY} \ +AWS_SECRET_KEY=${AWS_SECRET_KEY} COPY ${JAR_FILE} prolog.jar ENTRYPOINT ["java", "-jar", "/prolog.jar"] diff --git a/docker-compose.yml b/docker-compose.yml index 51a6615..66d5192 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -37,6 +37,8 @@ services: JWT_SECRET_KEY: ${JWT_SECRET_KEY} CLIENT_ID: ${CLIENT_ID} CLIENT_SECRET: ${CLIENT_SECRET} + AWS_ACCESS_KEY: ${AWS_ACCESS_KEY} + AWS_SECRET_KEY: ${AWS_SECRET_KEY} green: container_name: green image: fortune00/prolog @@ -55,3 +57,5 @@ services: JWT_SECRET_KEY: ${JWT_SECRET_KEY} CLIENT_ID: ${CLIENT_ID} CLIENT_SECRET: ${CLIENT_SECRET} + AWS_ACCESS_KEY: ${AWS_ACCESS_KEY} + AWS_SECRET_KEY: ${AWS_SECRET_KEY}