-
Notifications
You must be signed in to change notification settings - Fork 56
/
docker-compose.yml
52 lines (52 loc) · 1.67 KB
/
docker-compose.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.8'
services:
minio:
image: minio/minio
volumes:
- ./minio-data:/data
ports:
- 9000:9000
- 9001:9001
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: secret00
command: server /data --console-address ":9001"
postgresql:
image: postgres:12
volumes:
- ./pg-data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: secret
backup:
build: ./docker
environment:
DATABASE_USER: postgres
DATABASE_PASSWORD: secret
BACKUP_CONF: /conf/backup.conf
S3_USER: minio
S3_PASSWORD: secret00
S3_ENDPOINT: http://minio:9000
S3_BUCKET: backups
volumes:
- ./backups:/backups
- ./config/backup-dev.conf:/conf/backup.conf
- ./docker/backup.config.utils:/backup.config.utils
- ./docker/backup.container.utils:/backup.container.utils
- ./docker/backup.file.utils:/backup.file.utils
- ./docker/backup.ftp:/backup.ftp
- ./docker/backup.logging:/backup.logging
- ./docker/backup.mariadb.plugin:/backup.mariadb.plugin
- ./docker/backup.misc.utils:/backup.misc.utils
- ./docker/backup.mongo.plugin:/backup.mongo.plugin
- ./docker/backup.mssql.plugin:/backup.mssql.plugin
- ./docker/backup.null.plugin:/backup.null.plugin
- ./docker/backup.postgres.plugin:/backup.postgres.plugin
- ./docker/backup.server.utils:/backup.server.utils
- ./docker/backup.settings:/backup.settings
- ./docker/backup.sh:/backup.sh
- ./docker/backup.usage:/backup.usage
- ./docker/backup.utils:/backup.utils
- ./docker/backup.s3:/backup.s3