-
-
Notifications
You must be signed in to change notification settings - Fork 447
Expand file tree
/
Copy pathcompose.yml
More file actions
34 lines (31 loc) · 688 Bytes
/
compose.yml
File metadata and controls
34 lines (31 loc) · 688 Bytes
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
name: lncrawl
services:
postgres:
image: postgres:alpine
restart: unless-stopped
ports:
- "5432:5432"
environment:
POSTGRES_USER: pguser
POSTGRES_PASSWORD: pgpass
POSTGRES_DB: lncrawl
volumes:
- pgdata:/var/lib/postgresql/data
server:
image: lncrawl
restart: unless-stopped
ports:
- "8080:8080"
command: -ll server -p 8080
environment:
- LNCRAWL_DATA_PATH=/data
- DATABASE_URL=postgresql+psycopg://pguser:pgpass@postgres:5432/lncrawl
volumes:
- appdata:/data
depends_on:
- postgres
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
pgdata:
appdata: