-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (46 loc) · 1.19 KB
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (46 loc) · 1.19 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
secrets:
npm_token:
environment: NPM_AUTH_TOKEN
services:
forklift:
image: codewolfbyte/forklift:staging
build:
context: .
secrets:
- npm_token
env_file:
- .env
environment:
# Overrides the host path in .env — inside the container the DB lives on the
# ./data bind mount at /app/data.
- DATABASE_URL=sqlite:////app/data/forklift.db
ports:
- "127.0.0.1:8000:8000"
volumes:
- ./certs:/app/certs:ro
- ./data:/app/data
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "com.centurylinklabs.watchtower.scope=forklift"
lookup-members:
image: codewolfbyte/forklift:staging
build:
context: .
secrets:
- npm_token
env_file:
- .env
environment:
- DATABASE_URL=sqlite:////app/data/forklift.db
volumes:
- ./data:/app/data
entrypoint: ["python", "scripts/lookup_members.py"]
profiles:
- tools
watchtower:
image: containrrr/watchtower:1.7.1
restart: unless-stopped
command: --label-enable --scope forklift --cleanup --interval 300
volumes:
- /var/run/docker.sock:/var/run/docker.sock