-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-example.yml
55 lines (48 loc) · 1.04 KB
/
docker-compose-example.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
version: '3.9'
services:
veslo.postgres:
image: postgres:14.1-alpine
restart: always
environment:
POSTGRES_USER: "name"
POSTGRES_PASSWORD: "password"
POSTGRES_DB: "dbname"
ports:
- 5432:5432
volumes:
- /home/user/pgdata/veslo.postgres:/var/lib/postgresql/data
veslo.pgadmin:
image: dpage/pgadmin4
restart: always
container_name: veslo.pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "password"
PGADMIN_CONFIG_SERVER_MODE: "False"
ports:
- 8082:80
veslo.redis:
image: redis/redis-stack:7.2.0-v10
restart: always
ports:
- 6379:6379
- 8001:8001
veslo.backend:
image: veslo.backend
restart: always
ports:
- "3003:3003"
env_file:
- ./backend-veslo/.env
depends_on:
- veslo.postgres
- veslo.redis
veslo.frontend:
image: veslo.frontend
restart: always
ports:
- "80:3100"
depends_on:
- veslo.backend
volumes:
veslo.postgres: