fix first pass
This commit is contained in:
Executable
+42
@@ -0,0 +1,42 @@
|
||||
services:
|
||||
tisbackup_gui:
|
||||
container_name: tisbackup_gui
|
||||
image: "tisbackup:latest"
|
||||
build: .
|
||||
volumes:
|
||||
- ./config/:/etc/tis/
|
||||
- ./backup/:/backup/
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 9980:8080
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: 0.50
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: 0.25
|
||||
memory: 128M
|
||||
tisbackup_cron:
|
||||
container_name: tisbackup_cron
|
||||
image: "tisbackup:latest"
|
||||
build: .
|
||||
volumes:
|
||||
- ./config/:/etc/tis/
|
||||
- ./ssh/:/config_ssh/
|
||||
- ./backup/:/backup/
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: always
|
||||
command: "/bin/bash /opt/tisbackup/cron.sh"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: 0.50
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: 0.25
|
||||
memory: 128M
|
||||
|
||||
Reference in New Issue
Block a user