-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
49 lines (46 loc) · 985 Bytes
/
docker-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
services:
postgres:
image: postgres:16
container_name: ichack_postgres
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: rootpasswd
POSTGRES_DB: postgres
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
website:
container_name: ichack_website
build:
context: .
target: website
ports:
- '3000:3000'
depends_on:
- postgres
environment:
- PGUSER=admin
- PGPASSWORD=rootpasswd
- PGDB=postgres
- PGHOST=posgres
- PGPORT=5432
- NUXT_PUBLIC_API_BASE_URL=http://localhost:3000/api
landing:
container_name: ichack_landing
build:
context: .
target: landing
ports:
- '3001:3000'
depends_on:
- postgres
environment:
- PGUSER=admin
- PGPASSWORD=rootpasswd
- PGDB=postgres
- PGHOST=posgres
- PGPORT=5432
volumes:
postgres_data:
name: ichack_postgres_data