-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
53 lines (49 loc) · 1.33 KB
/
docker-compose.dev.yml
File metadata and controls
53 lines (49 loc) · 1.33 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
version: "3.8"
services:
alarik:
build:
context: ./alarik
dockerfile: Dockerfile.dev
container_name: alarik-dev
ports:
- "8080:8080"
environment:
- LOG_LEVEL=${LOG_LEVEL:-debug}
- API_BASE_URL=${API_BASE_URL:-http://localhost:8080}
- CONSOLE_BASE_URL=${CONSOLE_BASE_URL:-http://localhost:3000}
- ADMIN_USERNAME=${ADMIN_USERNAME:-alarik}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-alarik}
# Providing default keys is optional but necessary for testing
- DEFAULT_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
- DEFAULT_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
volumes:
- ./alarik:/app
- ./alarik/Storage:/app/Storage
- alarik-build:/app/.build
networks:
- alarik-network
console:
build:
context: ./console
dockerfile: Dockerfile.dev
container_name: console-dev
ports:
- "3000:3000"
- "24678:24678" # Nuxt dev server HMR
environment:
- NODE_ENV=development
- API_BASE_URL=${API_BASE_URL:-http://localhost:8080}
- CONSOLE_BASE_URL=${CONSOLE_BASE_URL:-http://localhost:3000}
volumes:
- ./console:/app
- /app/node_modules
- /app/.nuxt
depends_on:
- alarik
networks:
- alarik-network
networks:
alarik-network:
driver: bridge
volumes:
alarik-build: