-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
88 lines (77 loc) · 1.69 KB
/
docker-compose.yaml
File metadata and controls
88 lines (77 loc) · 1.69 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
services:
nginx:
image: secultceara/nginx:latest
restart: unless-stopped
volumes:
- /dev/null:/var/www/html/index.php
- public-files:/var/www/html/files
- assets:/var/www/html/assets
- ./config/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8080:80"
depends_on:
- mapasculturais
links:
- mapasculturais
networks:
- mapasculturais
mapasculturais:
image: secultceara/mapasculturais:latest
restart: unless-stopped
env_file:
- .env
volumes:
- assets:/var/www/html/assets
- public-files:/var/www/html/files
- private-files:/var/www/private-files
- saas-files:/var/www/SaaS
- sessions:/var/www/var/sessions
- logs:/var/www/var/logs
links:
- redis
- sessions
depends_on:
- db
- redis
- sessions
networks:
- mapasculturais
db:
image: secultceara/postgis:14
restart: unless-stopped
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${DB_PASS}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
ports:
- "5432:5432"
volumes:
- db-data:/var/lib/postgresql/data
networks:
- mapasculturais
redis:
image: redis:6
command: --maxmemory 1256Mb --maxmemory-policy allkeys-lru
restart: unless-stopped
networks:
- mapasculturais
sessions:
image: redis:6
command: --maxmemory 384Mb --maxmemory-policy allkeys-lru
restart: unless-stopped
volumes:
- sessions:/data
networks:
- mapasculturais
networks:
mapasculturais:
volumes:
assets:
db-data:
logs:
private-files:
public-files:
saas-files:
sessions: