-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 689 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (33 loc) · 689 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
version: '3.8'
services:
pyguard:
build: .
image: pyguard:latest
container_name: pyguard
volumes:
# Mount your code directory
- ./:/code:ro
# Mount logs directory
- ./logs:/app/logs
# Mount backups directory
- ./backups:/app/backups
command: /code
environment:
- PYTHONUNBUFFERED=1
pyguard-dev:
build:
context: .
dockerfile: Dockerfile
image: pyguard:dev
container_name: pyguard-dev
volumes:
- ./:/app
- pyguard-cache:/root/.cache
working_dir: /app
command: bash
stdin_open: true
tty: true
environment:
- PYTHONUNBUFFERED=1
volumes:
pyguard-cache: