-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
docker-compose.dev.yaml
59 lines (57 loc) · 1.36 KB
/
docker-compose.dev.yaml
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
services:
postiz-postgres:
# ref: https://hub.docker.com/_/postgres
image: postgres:17-alpine # 17.0
container_name: postiz-postgres
restart: always
environment:
POSTGRES_PASSWORD: postiz-local-pwd
POSTGRES_USER: postiz-local
POSTGRES_DB: postiz-db-local
volumes:
- postgres-volume:/var/lib/postgresql/data
ports:
- 5432:5432
networks:
- postiz-network
postiz-redis:
# ref: https://hub.docker.com/_/redis
image: redis:7-alpine # 7.4.0
container_name: postiz-redis
restart: always
ports:
- 6379:6379
networks:
- postiz-network
postiz-pg-admin:
# ref: https://hub.docker.com/r/dpage/pgadmin4/tags
image: dpage/pgadmin4:latest
container_name: postiz-pg-admin
restart: always
ports:
- 8081:80
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
networks:
- postiz-network
postiz-redisinsight:
# ref: https://hub.docker.com/r/redis/redisinsight
image: redis/redisinsight:latest
container_name: postiz-redisinsight
links:
- postiz-redis
ports:
- "5540:5540"
volumes:
- redisinsight:/data
networks:
- postiz-network
restart: always
volumes:
redisinsight:
postgres-volume:
external: false
networks:
postiz-network:
external: false