-
Notifications
You must be signed in to change notification settings - Fork 3
/
compose.yaml
50 lines (46 loc) · 1.06 KB
/
compose.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
services:
backend:
image: backend:alpha
ports:
- "3030:3030"
environment:
TOKEN_SECRET: tokensecret
links:
- "postgress:database"
volumes:
- books-volume:/usr/src/app/books
- uploads-volume:/usr/src/app/uploads
#- ./books:/var/www/ampouletude.com/html/source/books
#- ./uploads:/var/www/ampouletude.com/html/source/uploads
frontend:
image: frontend:alpha
environment:
NEXTAUTH_SECRET: tokensecret
ports:
- "3000:3000"
links:
- "backend:backend"
relayer:
image: relayer:alpha
ports:
- "8080:80"
links:
- "frontend:frontend"
- "backend:backend"
postgress:
image: postgres
restart: always
environment:
POSTGRES_USER: testuser
POSTGRES_PASSWORD: testpassword
POSTGRES_DB: Custom
ports:
- "5430:5432"
volumes:
- ./data:/var/www/ampouletude.com/html/source/postgressdemo
volumes:
books-volume:
external: true
uploads-volume:
external: true
#/var/www/ampouletude.com/html/source/postgressdemo