-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (46 loc) · 997 Bytes
/
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
version: "3.3"
services:
postgres:
image: postgis/postgis:14-master
networks:
- internal
ports:
- 5112:5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: smalsuolis
TZ: 'Etc/GMT'
PGTZ: 'Etc/GMT'
chrome:
image: browserless/chrome:latest
restart: unless-stopped
platform: linux/amd64
environment:
DEFAULT_LAUNCH_ARGS: '["--window-size=1920,1080"]'
WORKSPACE_DELETE_EXPIRED: true
MAX_CONCURRENT_SESSIONS: 10
MAX_QUEUE_LENGTH: 10
CONNECTION_TIMEOUT: 3600000
healthcheck:
test: [ "CMD-SHELL", "curl -f http://127.0.0.1:3000/metrics || exit 1" ]
networks:
- internal
deploy:
resources:
limits:
memory: 8G
reservations:
memory: 4G
ports:
- 9321:3000
redis:
image: redis:latest
networks:
- internal
ports:
- 6112:6379
networks:
internal:
volumes:
data: