2021-07-09 20:48:05 +00:00
|
|
|
|
|
|
|
terminal:
|
|
|
|
# This can be any image that has the necessary runtime environment for your project.
|
|
|
|
image: golang:1.16
|
2021-07-09 20:49:35 +00:00
|
|
|
services:
|
|
|
|
- name: registry.gitlab.com/gitlab-org/webide-file-sync:latest
|
|
|
|
alias: webide-file-sync
|
|
|
|
entrypoint: ["/bin/sh"]
|
|
|
|
command: ["-c", "sleep 5 && ./webide-file-sync -project-dir $CI_PROJECT_DIR"]
|
|
|
|
ports:
|
|
|
|
# The `webide-file-sync` executable defaults to port 3000.
|
|
|
|
- number: 3000
|