-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (35 loc) · 978 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (35 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
services:
stealthops:
build: .
# Bind to localhost only — nginx handles external traffic on 443.
# For local testing change to "0.0.0.0:8000:8000".
ports:
- "127.0.0.1:8000:8000"
env_file:
# Copy .env.example to .env and fill in your values.
# On GCP, have the VM startup script write secrets to this file
# before starting the container (see docker-entrypoint.sh).
- .env
environment:
CLOUD_MODE: "1"
volumes:
- cache_data:/data/cache
restart: unless-stopped
ctfd:
image: ctfd/ctfd:latest
restart: unless-stopped
ports:
- "127.0.0.1:8001:8000"
environment:
- SECRET_KEY=${CTFD_SECRET_KEY}
- DATABASE_URL=sqlite:////var/data/CTFd/ctfd.db
- UPLOAD_FOLDER=/var/uploads
- REVERSE_PROXY=true
- APPLICATION_ROOT=/ctf
volumes:
- ctfd_data:/var/data/CTFd
- ctfd_uploads:/var/uploads
volumes:
cache_data:
ctfd_data:
ctfd_uploads: