-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
72 lines (69 loc) · 2.27 KB
/
docker-compose.dev.yaml
File metadata and controls
72 lines (69 loc) · 2.27 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
services:
vx-app:
build:
dockerfile: .docker/app/Dockerfile
context: ./
args:
GH_TOKEN: ${GITHUB_TOKEN}
volumes:
- type: bind
source: .
target: /app
labels:
- "traefik.enable=true"
- "traefik.http.routers.vx-app.entrypoints=web"
- "traefik.http.routers.vx-app.rule=Host(`app.vx.localhost`)"
- "traefik.http.services.vx-app.loadbalancer.server.port=8080"
vx-spa:
image: ghcr.io/roadrunner-php/velox-spa:latest
environment:
VITE_API_BASE_URL: ${VITE_API_BASE_URL:-http://app.vx.localhost/api/v1}
NODE_ENV: development
command: [ "npm", "run", "dev", "--", "--host" ]
volumes:
- type: bind
source: ./spa
target: /app
labels:
- "traefik.enable=true"
- "traefik.http.routers.vx-spa.entrypoints=web"
- "traefik.http.routers.vx-spa.rule=Host(`spa.vx.localhost`)"
- "traefik.http.services.vx-spa.loadbalancer.server.port=5173"
vx-buggregator:
container_name: vx-buggregator
image: ghcr.io/buggregator/server:latest
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.buggregator.entrypoints=web"
- "traefik.http.routers.buggregator.rule=Host(`buggregator.vx.localhost`)"
- "traefik.http.services.buggregator.loadbalancer.server.port=8000"
networks:
- vx-network
logging:
driver: none
vx-reverse-proxy:
image: traefik:v2.9
restart: always
command:
- "--accesslog"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
- "--entrypoints.websecure.address=:443"
- "--providers.file.directory=/configuration/"
- "--providers.file.watch=true"
ports:
- ${TRAEFIK_PORT:-80}:80
labels:
- "traefik.enable=true"
- "traefik.http.routers.vx-reverse-proxy.entrypoints=web"
- "traefik.http.routers.vx-reverse-proxy.rule=Host(`traefik.vx.localhost`)"
- "traefik.http.services.vx-reverse-proxy.loadbalancer.server.port=8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./.docker/traefik/configuration:/configuration/
- ./.docker/traefik/certs:/etc/certs:ro
networks:
- vx-network