-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
62 lines (55 loc) · 1.33 KB
/
docker-compose.yaml
File metadata and controls
62 lines (55 loc) · 1.33 KB
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
# debug config
name: mega-backuper-example
services:
nginx-example:
image: nginx:alpine
container_name: nginx-example
volumes:
- nginx:/usr/share/nginx/html
# restart: always
postgres-example:
image: postgres:alpine
container_name: postgres-example
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
volumes:
- postgres:/var/lib/postgresql/data
# restart: always
timescaledb-example:
image: timescale/timescaledb:latest-pg17
container_name: timescaledb-example
environment:
- POSTGRES_DB=timescaledb
- POSTGRES_USER=timescaledb
- POSTGRES_PASSWORD=timescaledb
- PGDATA=/pgdata
volumes:
- timescaledb_data:/pgdata
# restart: always
mariadb-example:
image: mariadb
container_name: mariadb-example
restart: always
environment:
- MARIADB_ROOT_PASSWORD=mariadb
- MARIADB_DATABASE=mariadb
- MARIADB_USER=mariadb
- MARIADB_PASSWORD=mariadb
volumes:
- mariadb:/var/lib/mysql
# restart: always
mega-backuper:
build:
context: .
container_name: mega-backuper
volumes:
- ./backuper_test.json:/app/backuper.json
- nginx:/tmp/nginx
# restart: always
volumes:
nginx:
postgres:
timescaledb_data:
mariadb: