-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (53 loc) · 1.15 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
version: "3.9"
services:
db:
image: postgres:15
container_name: rimun-db
volumes:
- ./db-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
ports:
- "127.0.0.1:5432:5432"
networks:
- rimun
restart: always
db-gui:
image: dpage/pgadmin4
container_name: rimun-db-gui
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: secret
PGADMIN_LISTEN_PORT: 80
ports:
- "127.0.0.1:8080:80"
volumes:
- ./db-gui-data:/var/lib/pgadmin
networks:
- rimun
depends_on:
- db
storage:
image: delfer/alpine-ftp-server
container_name: rimun-storage-ftp
restart: always
environment:
- USERS="${FTP_USER}|${FTP_PASSWORD}|${STATIC_FOLDER}"
- ADDRESS="${FTP_HOST}"
ports:
- "127.0.0.1:21:21"
volumes:
- ./storage-ftp-data:/static
networks:
- rimun
networks:
rimun:
name: "rimun-network"
volumes:
db-data:
driver: local
db-gui-data:
driver: local