This repository was archived by the owner on May 9, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
73 lines (69 loc) · 1.67 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
73 lines (69 loc) · 1.67 KB
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
services:
# Backend service with hot-reloading
backend:
image: node:22.20.0-alpine
container_name: aero_backend_dev
ports:
- "3000:3000"
- "4983:4983"
env_file:
- .env.dev
working_dir: /app
volumes:
- ./backend:/app
- backend_node_modules:/app/node_modules
# Use this when we start to have migrations: command: sh -c "npm install && npm run db:migrate && npm run dev"
command: sh -c "npm install && npm run dev"
depends_on:
db:
condition: service_healthy
restart: unless-stopped
db:
image: postgres:16
container_name: aero_db_dev
ports:
- "5432:5432"
env_file:
- .env.dev
volumes:
- postgres_data_dev:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5
restart: always
n8n:
build:
context: ./n8n
container_name: aero_n8n_dev
ports:
- "5678:5678"
env_file:
- .env.dev
volumes:
- n8n_data_dev:/home/node/.n8n
# - ./n8n/workflows:/home/node/.n8n/workflows
depends_on:
- db
restart: unless-stopped
dozzle:
image: amir20/dozzle:latest
container_name: aero_dozzle_dev
ports:
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./dozzle_data:/data
env_file:
- .env.dev
environment:
- DOZZLE_AUTH_PROVIDER=simple
- DOZZLE_ENABLE_SHELL=true
- DOZZLE_FILTER=status=running
- DOZZLE_NO_ANALYTICS=true
restart: unless-stopped
volumes:
postgres_data_dev:
n8n_data_dev:
backend_node_modules: