8000 Add an optional DOCKER_COMPOSE_USER environment variable. This can be… · apilaskowski/python-docs-samples@dd77c2e · GitHub
[go: up one dir, main page]

Skip to content

Commit dd77c2e

Browse files
authored
Add an optional DOCKER_COMPOSE_USER environment variable. This can be helpful such that files get created by the same user that is running docker (GoogleCloudPlatform#9130)
1 parent 1202781 commit dd77c2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

recaptchaenterprise/samples/demosite/docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ services:
2323
- "GOOGLE_CLOUD_PROJECT=${GOOGLE_CLOUD_PROJECT}"
2424
- "SITE_KEY=${SITE_KEY}"
2525
command: gunicorn main:app --workers 4 --name main --reload -b 0.0.0.0:8080
26+
user: "${DOCKER_COMPOSE_USER}"
2627
ports: ["8080:8080"]
2728
volumes:
2829
- "./app:/app"

0 commit comments

Comments
 (0)
0