-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbs.yaml
47 lines (41 loc) · 816 Bytes
/
dbs.yaml
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
services:
pgdb:
image: postgres@sha256:1a6b23b8a62600f52995d164132266c7ef648905b7d6e63da43d63faa574e395
restart: always
environment:
POSTGRES_PASSWORD: example_test
volumes:
- pgdata:/var/lib/postgresql/data
deploy:
resources:
limits:
cpus: '1'
memory: 1G
reservations:
cpus: '1'
memory: 1G
ports:
- 54320:5432
mongodb:
image: mongo:6-jammy
restart: always
volumes:
- dbdata6:/data/db
deploy:
resources:
limits:
cpus: '1'
memory: 1G
reservations:
cpus: '1'
memory: 1G
ports:
- 27017:27017
adminer:
image: adminer
restart: always
ports:
- 8090:8080
volumes:
pgdata:
dbdata6: