-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
20 lines (19 loc) · 723 Bytes
/
docker-compose.yml
File metadata and controls
20 lines (19 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: "3.9"
services:
app:
container_name: gitleaks-cont
image: docker_python
tty: false # false for `entrypoint` in Dockerfile
stdin_open: false # false for `entrypoint` in Dockerfile
env_file: # use .env file for environment variables
- ./.env
# environment: # use environment variables instead of .env file
# - ACCESS_KEY_ID=${ACCESS_KEY_ID:?err}
# - SECRET_ACCESS_KEY=${SECRET_ACCESS_KEY:?err}
volumes:
- .:/home/appuser/app
ports:
- 8000:8000
build:
context: ./
dockerfile: ./Dockerfile