-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (55 loc) · 1.17 KB
/
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
52
53
54
55
56
57
58
59
version: '3'
services:
messenger-system:
image: devalurum/messenger-system
restart: on-failure
ports:
- "8080:8080"
networks:
back-end:
aliases:
- messenger-system
depends_on:
- postgres
postgres:
image: kartoza/postgis:14
container_name: postgis
restart: on-failure
environment:
POSTGRES_USER: postgres
POSTGRES_PASS: postgres
POSTGRES_DB: postgres
ALLOW_IP_RANGE: '0.0.0.0/0'
networks:
back-end:
aliases:
- postgres
volumes:
# put in explore Win10 \\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\
- ./data:/var/lib/postgresql/data
- ./postgis/:/docker-entrypoint-initdb.d/
expose:
- 5435
ports:
- "5435:5432"
command:
-p 5435
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4
restart: on-failure
links:
- postgres
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
networks:
back-end:
aliases:
- pgadmin
networks:
back-end:
volumes:
db-data: