-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (51 loc) · 1.46 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
version: '3'
services:
#redis:
# image: redis:alpine
# command:
# - --save
# - ''
# - --appendonly
# - 'no'
# ports:
# - 127.0.0.1:6379:6379
# network_mode: host
# For Redis provider
#traefik:
# image: ghcr.io/netsoc/webspaced/traefik:dev
# build:
# context: .
# dockerfile: Dockerfile.traefik
# image: ghcr.io/netsoc/webspaced/traefik
# command:
# - --providers.file.filename=/static.yaml
# - --entryPoints.http.address=:80
# - --entryPoints.https.address=:443
# - --api.dashboard=true
# - --accesslog=true
# environment:
# - REDIS_HOST=localhost
# volumes:
# - ./traefik-static.yaml:/static.yaml:ro
# network_mode: host
app:
image: ghcr.io/netsoc/webspaced:dev
build:
context: .
dockerfile: Dockerfile.dev
environment:
- WSD_LOG_LEVEL=debug
- WSD_LXD_TLS_ALLOW_INSECURE=true
- WSD_LXD_TLS_CLIENT_CERT_FILE=/run/certs/client.crt
- WSD_LXD_TLS_CLIENT_KEY_FILE=/run/certs/client.key
- WSD_HTTP_LISTEN_ADDRESS=:8081
- WSD_TRAEFIK_HTTPS_ENTRYPOINT=websecure
- WSD_TRAEFIK_PROVIDER=kubernetes
- WSD_WEBSPACES_PORTS_KUBERNETES_SERVICE=webspaced-forwarding
- KUBECONFIG=/run/config/kubeconfig.yaml
volumes:
- .:/usr/local/lib/webspaced
- ./certs:/run/certs:ro
- ./kubeconfig-proxy.yaml:/run/config/kubeconfig.yaml:ro
- ./config.yaml:/run/config/webspaced.yaml:ro
network_mode: host