1services:
2 app:
3 image: ghcr.io/hargata/lubelogger:latest
4 container_name: lubeloggerapp
5 restart: unless-stopped
6 # volumes used to keep data persistent
7 volumes:
8 - config:/App/config
9 - data:/App/data
10 - translations:/App/wwwroot/translations
11 - documents:/App/wwwroot/documents
12 - images:/App/wwwroot/images
13 - temp:/App/wwwroot/temp
14 - log:/App/log
15 - keys:/root/.aspnet/DataProtection-Keys
16 # expose port and/or use serving via traefik
17 ports:
18 - 8080:8080
19 env_file:
20 - .env
21 depends_on:
22 - postgres
23
24 postgres:
25 image: postgres:14
26 container_name: lubeloggerdb
27 restart: unless-stopped
28 env_file:
29 - .env
30 volumes:
31 - postgres:/var/lib/postgresql/data
32 - /etc/localtime:/etc/localtime:ro
33
34 pgadmin:
35 image: dpage/pgadmin4
36 container_name: pgadmin4_container
37 restart: always
38 ports:
39 - "8888:80"
40 env_file:
41 - .env
42 volumes:
43 - pgadmin-data:/var/lib/pgadmin
44
45
46volumes:
47 config:
48 data:
49 translations:
50 documents:
51 images:
52 temp:
53 log:
54 keys:
55 postgres:
56 pgadmin-data:
Created: Mon, 03 Jun 2024 21:21:27 +0000
Expires: Never