From: Ruben Beltran del Rio Date: Thu, 14 Oct 2021 22:43:38 +0000 (+0200) Subject: Pass environment variables to compose: X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/46d6fed438cd08b8deb86c8403841e0dd4b8acb0?ds=sidebyside;hp=951d3fac8e1662a3e4e1a159820faca0676bb6a7 Pass environment variables to compose: --- diff --git a/docker-compose.yml b/docker-compose.yml index b4ae4c9..c0a95a8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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