-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
62 lines (58 loc) · 1.12 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
version: "3"
services:
app:
build:
context: .
dockerfile: Dockerfile.dev
args:
- "HOST_UID=1000"
environment:
- "DB_HOST=postgres"
- "PORT=8000"
ports:
- "8000:8000"
- "5173:5173"
volumes:
- "./app:/var/www/app"
- "./storage:/var/www/storage"
- "./resources:/var/www/resources"
- "./routes:/var/www/routes"
depends_on:
- postgres
prod:
build:
context: .
dockerfile: Dockerfile
args:
- "HOST_UID=1000"
ports:
- "9000:80"
depends_on:
- postgres
- smtp
smtp:
image: namshi/smtp
restart: always
environment:
MAILNAME: "atrellado.toino.pt"
expose:
- "25"
postgres:
image: postgres:11
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: pg!password
ports:
- "5432:5432"
expose:
- "5432"
pgadmin:
image: dpage/pgadmin4:6
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: pg!password
ports:
- "4321:80"
depends_on:
- postgres