-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (47 loc) · 1.16 KB
/
Copy pathdocker-compose.yml
File metadata and controls
55 lines (47 loc) · 1.16 KB
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
version: '3'
services:
postgres:
#image: koinotice/postgres:latest
build: "./docker/postgres"
container_name: docker_postgres
restart: "always"
ports:
- 5432:5432
environment:
POSTGRES_DB: "pmker"
POSTGRES_USER: "pmker"
POSTGRES_PASSWORD: "Zheli123!!@#"
volumes:
# - /hash/data/postgresql:/var/lib/postgresql/data
nats:
image: nats-streaming:latest
restart: always
container_name: docker_nats
command: -m 8222 --store SQL --sql_driver postgres --sql_source "postgres://pmker:Zheli123@postgres/pmker?sslmode=disable"
ports:
- "4222:4222"
- "8222:8222"
mongo:
image: mongo
restart: always
container_name: docker_mongo
volumes:
- /hash/data/mongo/data:/data/db
ports:
- 27017:27017
redis:
image: redis
restart: always
container_name: docker_redis
volumes:
- ./docker/data/Shanghai:/etc/localtime
- /hash/data/redis/data:/data
ports:
- 6379:6379
gitea:
image: "gitea/gitea:latest"
volumes:
- /hash/data/gitea-demo:/data # to mount custom Caddyfile
ports:
- "10080:3000"
- "10022:22"