]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Pass environment variables to compose:
authorRuben Beltran del Rio <redacted>
Thu, 14 Oct 2021 22:43:38 +0000 (00:43 +0200)
committerRuben Beltran del Rio <redacted>
Thu, 14 Oct 2021 22:43:38 +0000 (00:43 +0200)
docker-compose.yml

index b4ae4c9dd93adae781d71d2eab45cb6705432bb9..c0a95a83daf3168a5be1a812a8297694dde4c21c 100644 (file)
@@ -4,6 +4,10 @@ services:
   unlimited.pizza:
     build: .
     env_file: .env
+    environment:
+      - S3_BUCKET
+      - AWS_ACCESS_KEY_ID
+      - AWS_SECRET_ACCESS_KEY
     command: serve --host 0.0.0.0 --config _config.yml,_config.development.yml
     volumes:
       - .:/app