forked from vwxyzjn/portwarden
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
64 lines (57 loc) · 1.36 KB
/
docker-compose.yaml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3'
services:
salt_generator:
image: vwxyzjn/portwarden-server-dev:v0.1.1
environment:
- Salt=${Salt}
volumes:
- .:/go/src/github.com/vwxyzjn/portwarden
command:
go run ./utils/generate_salt_file.go
scheduler:
image: vwxyzjn/portwarden-server-dev:v0.1.1
stdin_open: true
tty: true
environment:
- BITWARDENCLI_APPDATA_DIR=/BitwardenCLI
- BackupDefaultSleepMilliseconds=20
depends_on:
- redis
ports:
- 5000:5000
volumes:
- .:/go/src/github.com/vwxyzjn/portwarden
working_dir:
/go/src/github.com/vwxyzjn/portwarden/web/scheduler
redis:
image: redis
ports:
- 6379:6379
worker:
image: vwxyzjn/portwarden-server-dev:v0.1.1
stdin_open: true
tty: true
environment:
- BITWARDENCLI_APPDATA_DIR=/BitwardenCLI
- BackupDefaultSleepMilliseconds=20
depends_on:
- redis
deploy:
mode: replicated
replicas: 2
volumes:
- .:/go/src/github.com/vwxyzjn/portwarden
working_dir:
/go/src/github.com/vwxyzjn/portwarden/web/worker
redis-commander:
image: rediscommander/redis-commander:latest
restart: always
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "8081:8081"
frontend:
image: vwxyzjn/portwarden-frontend:0.1.1
restart: always
ports:
- "8000:8000"