|
| 1 | +# Change whatever you need also you can run dev-lint to check some fundamentals are still working |
| 2 | +name: vertex_client |
| 3 | +services: |
| 4 | + vertex_client: |
| 5 | + build: |
| 6 | + context: ../../ |
| 7 | + dockerfile: .devcontainer/local/Dockerfile |
| 8 | + command: sleep infinity |
| 9 | + dns: |
| 10 | + - 172.24.0.250 |
| 11 | + volumes: |
| 12 | + - ../..:/workspaces/vertex_client |
| 13 | + - vertex_client-gems:/workspaces/vertex_client/.bundle |
| 14 | + - /var/run/docker.sock:/var/run/docker.sock |
| 15 | + - /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock |
| 16 | + environment: |
| 17 | + # The .env(*) files in your project folder override these variables |
| 18 | + # you can comment out the .env files, move the configuration here |
| 19 | + # mount over the .env files in volume section, depends on what workflow |
| 20 | + # you want |
| 21 | + DEVSPACE: true # useful for disabling some stuff in bin/setup and bin/boostrap and similar init scripts |
| 22 | + SSH_AUTH_SOCK: /run/host-services/ssh-auth.sock |
| 23 | + BUNDLE_PATH: /workspaces/vertex_client/.bundle |
| 24 | + GEM_PATH: /workspaces/vertex_client/.bundle/ruby/2.1.0/gems |
| 25 | + GEM_HOME: /workspaces/vertex_client/.bundle/ruby/2.1.0/gems |
| 26 | + DISPLAY: xserver:0 |
| 27 | + env_file: |
| 28 | + - ${HOME}/.devcontainers.env |
| 29 | + labels: |
| 30 | + # See https://doc.traefik.io/traefik/routing/providers/docker/#tcp-routers |
| 31 | + # See https://doc.traefik.io/traefik/routing/providers/docker/#services |
| 32 | + - "traefik.http.routers.vertex_client-http.rule=Host(`vertex_client.customink.d3v`)" |
| 33 | + - "traefik.http.routers.vertex_client-http.entrypoints=web" |
| 34 | + - "traefik.http.routers.vertex_client-http.service=vertex_client-http" |
| 35 | + |
| 36 | + - "traefik.http.routers.vertex_client-https.rule=Host(`vertex_client.customink.d3v`)" |
| 37 | + - "traefik.http.routers.vertex_client-https.entrypoints=websecure" |
| 38 | + - "traefik.http.routers.vertex_client-https.tls=true" |
| 39 | + - "traefik.http.routers.vertex_client-https.service=vertex_client-http" |
| 40 | + |
| 41 | + - "traefik.http.services.vertex_client-http.loadbalancer.server.port=3000" |
| 42 | +volumes: |
| 43 | + vertex_client-gems: |
| 44 | +networks: |
| 45 | + default: |
| 46 | + external: true |
| 47 | + name: devcontainers |
0 commit comments