-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
102 lines (95 loc) · 2.03 KB
/
compose.yaml
File metadata and controls
102 lines (95 loc) · 2.03 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
services:
mariadb:
image: mariadb:10.11.11
environment:
MARIADB_USER: root
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: app
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 'no'
ports:
- "3306:3306"
volumes:
- ./var/volumes/mariadb:/var/lib/mysql:rw
- ./var/volumes/api-legacy-var:/var/www/var
networks:
- basango_network
postgres:
image: pgvector/pgvector:pg16
environment:
POSTGRES_DB: app
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- ./var/volumes/postgres:/var/lib/postgresql/data
networks:
- basango_network
redis:
image: redis:7-alpine
command: ["redis-server", "--appendonly", "yes"]
ports:
- "6379:6379"
volumes:
- ./var/volumes/redis:/data
networks:
- basango_network
redis-commander:
image: rediscommander/redis-commander:latest
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "8081:8081"
depends_on:
- redis
networks:
- basango_network
adminer:
image: adminer:latest
depends_on:
- mariadb
environment:
APP_ENV: dev
ADMINER_DESIGN: pepa-linha
ADMINER_DEFAULT_SERVER: mariadb
ports:
- "8082:8080"
networks:
- basango_network
mailer:
image: axllent/mailpit
ports:
- "1025:1025"
- "8025:8025"
environment:
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
networks:
- basango_network
networks:
basango_network:
volumes:
database_data:
driver: local
driver_opts:
type: none
o: bind
device: ./var/volumes/mariadb
backend_var:
driver: local
driver_opts:
type: none
o: bind
device: ./var/volumes/api-legacy-var
redis_data:
driver: local
driver_opts:
type: none
o: bind
device: ./var/volumes/redis
postgres_data:
driver: local
driver_opts:
type: none
o: bind
device: ./var/volumes/postgres