-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yml
32 lines (31 loc) · 1006 Bytes
/
docker-compose.dev.yml
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
version: "3.9"
services:
backuponepass:
build:
context: .
container_name: backuponepass
hostname: backuponepass
environment:
- USER=${BACKUP_ONE_PASS_USER:?error}
- PASSWORD=${BACKUP_ONE_PASS_PASSWORD:?error}
- GID=${BACKUP_ONE_PASS_GID:?error}
- UID=${BACKUP_ONE_PASS_UID:?error}
- TZ=${BACKUP_ONE_PASS_TZ:?error}
- ONEPASSWORD_EMAIL=${BACKUP_ONE_PASS_ONEPASSWORD_EMAIL:?error}
- ONEPASSWORD_SECRET_KEY=${BACKUP_ONE_PASS_ONEPASSWORD_SECRET_KEY:?error}
- ONEPASSWORD_PASSWORD=${BACKUP_ONE_PASS_ONEPASSWORD_PASSWORD:?error}
- ONEPASSWORD_TOTP_SECRET=${BACKUP_ONE_PASS_ONEPASSWORD_TOTP_SECRET:?error}
ports:
- "14000:4000" # NoMachine Remote desktop access
volumes:
- /dev/shm:/dev/shm # Shared memory
- ./docker/data:/backuponepass/data # 1Password Data Output
cap_add:
- SYS_PTRACE
restart: on-failure
networks:
- proxy
networks:
proxy:
driver: bridge
external: true