-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (78 loc) · 1.67 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
services:
roomitalapi:
build:
context: ./
dockerfile: Dockerfile
ports:
- "5001:5001"
volumes:
- ./:/roomital
depends_on:
- roomitaldb
- roomitalredis
networks:
- roomital-network
#roomitalclient:
# build:
# context: ./client/
# dockerfile: Dockerfile
# ports:
# - "3000:3000"
# volumes:
# - ./client:/app
roomitaldb:
image: postgres
volumes:
- roomital_postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: roomital_admin
POSTGRES_PASSWORD: roomital
POSTGRES_DB: roomital_dev
ports:
- "5432:5432"
restart: unless-stopped
networks:
- roomital-network
roomitalpgadmin:
image: dpage/pgadmin4
ports:
- "7650:80"
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "adminadmin"
volumes:
- roomital_pgadmin_data:/var/lib/pgadmin
restart: unless-stopped
networks:
- roomital-network
roomitalredis:
image: 'redis/redis-stack'
ports:
- '6379:6379'
- '8903:8001'
volumes:
- redis_data:/data
restart: unless-stopped
networks:
- roomital-network
roomitalminio:
command: server /data --console-address ":9001"
image: quay.io/minio/minio:latest
ports:
- '7651:9000'
- '7652:9001'
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=adminadmin
volumes:
- ./minio-cdn:/data
restart: unless-stopped
networks:
- roomital-network
volumes:
roomital_postgres_data:
roomital_pgadmin_data:
redis_data:
networks:
roomital-network:
driver: bridge