-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 947 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 947 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
35
36
37
38
39
40
version: "3.9"
services:
postgres:
image: postgres:latest
container_name: ipswd_postgres
environment:
POSTGRES_DB: ipsdb
POSTGRES_USER: ipsuser
POSTGRES_PASSWORD: ipspass
volumes:
- pgdata:/var/lib/postgresql
ports:
- "5432:5432"
ipswd:
build: .
shm_size: 8g
privileged: true
container_name: ipswd_server
depends_on:
- postgres
environment:
# Postgres settings
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: ipsdb
POSTGRES_USER: ipsuser
POSTGRES_PASSWORD: ipspass
# Daemon settings
DAEMON_HOST: 0.0.0.0
DAEMON_PORT: 3993
DAEMON_DEBUG: true
volumes:
- ./data:/data
ports:
- "3993:3993"
volumes:
pgdata: