File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ ENV CHUNK_SIZE 0
24
24
ENV PARALLEL_UPLOADS 3
25
25
26
26
RUN apt-get update -yqq && \
27
- apt-get install -y ca-certificates openssh-client mysql-client postgresql-client lftp && \
27
+ apt-get install -y ca-certificates openssh-client default- mysql-client postgresql-client lftp && \
28
28
mkdir -p /backups
29
29
30
30
ADD etc/lftp.conf /etc/lftp.conf
Original file line number Diff line number Diff line change @@ -31,5 +31,5 @@ test-bash: build
31
31
@docker compose run --rm crontab bash
32
32
33
33
test-log : build
34
- @docker compose up --force-recreate crontab
35
- @docker compose logs -f crontab
34
+ @docker compose up --force-recreate backup
35
+ @docker compose logs -f backup
Original file line number Diff line number Diff line change @@ -10,6 +10,19 @@ services:
10
10
11
11
mysql :
12
12
image : mysql:8
13
+ environment :
14
+ - MYSQL_DATABASE=mysql
15
+ - MYSQL_ROOT_PASSWORD=secret
13
16
volumes :
14
17
- ./tmp/mysql:/var/lib/mysql
15
18
19
+ ftp :
20
+ image : garethflowers/ftp-server
21
+ environment :
22
+ - FTP_USER=user
23
+ - FTP_PASS=123
24
+ ports :
25
+ - ' 20-21:20-21/tcp'
26
+ - ' 40000-40009:40000-40009/tcp'
27
+ volumes :
28
+ - ./tmp/ftp:/home/user
You can’t perform that action at this time.
0 commit comments