-
Notifications
You must be signed in to change notification settings - Fork 83
/
docker-compose.kelvin.yml
51 lines (46 loc) · 1.09 KB
/
docker-compose.kelvin.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
version: "3.7"
services:
app:
restart: unless-stopped
image: "ghcr.io/emfcamp/website:latest"
networks:
- emfweb
depends_on:
- postgres
ports:
- "127.0.0.1:8001:8000"
volumes:
- ./config/kelvin.cfg:/app/config/kelvin.cfg
- ./var/emf_vat_invoices:/vat_invoices
environment:
SETTINGS_FILE: ./config/kelvin.cfg
logging:
driver: journald
postgres:
restart: unless-stopped
image: 'postgis/postgis:13-3.1-alpine'
volumes:
- ./emfweb-postgres:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: postgres
networks:
- emfweb
postgres-exporter:
restart: unless-stopped
image: 'wrouesnel/postgres_exporter:v0.8.0'
environment:
DATA_SOURCE_NAME: "postgresql://postgres:postgres@postgres:5432/emf_site?sslmode=disable"
networks:
- emfweb
ports:
- "9187:9187"
static:
restart: unless-stopped
image: "ghcr.io/emfcamp/website-static:latest"
ports:
- "127.0.0.1:8081:80"
networks:
emfweb:
ipam:
config:
- subnet: 172.31.0.0/16