docker-compose.yaml (1249B)
1version: '3.1' 2 3services: 4 win_server: 5 image: harbor.cscg.live/public/guac_challenge_win_server:latest 6 restart: always 7 hostname: win-server 8 ports: 9 - 3389:3339 10 - 50022:50022 11 - 5900:5900 12 extra_hosts: 13 - "localhost:127.0.0.1" 14 15 guac_frontend: 16 build: 17 context: ./guac_frontend 18 dockerfile: Dockerfile 19 restart: always 20 volumes: 21 - ./guac_frontend/src:/home/node/app/src 22 ports: 23 - 3000:3000 24 extra_hosts: 25 - "snxwin:192.168.0.215" 26 environment: 27 REACT_APP_GUAC_BACKEND_HOSTNAME: "ws://localhost:8082/" # "session[...].play.cscg.live" in real deployment on challenge plattform 28 REACT_APP_WIN_SERVER_HOSTNAME: win-server # "localhost" in real deployment on challenge plattform 29 30 guac_backend: 31 build: 32 context: ./guac_backend 33 dockerfile: Dockerfile 34 volumes: 35 - ./guac_backend/src:/home/node/app/src 36 restart: always 37 ports: 38 - 8082:8082 39 40 guac_guacd: 41 build: 42 context: ./guac_guacd 43 dockerfile: Dockerfile 44 restart: always 45 hostname: guac-guacd 46 ports: 47 - 4822:4822 48 environment: 49 - GUACD_LOG_LEVEL=trace 50 - FLAG=CSCG{FLAG_PART2} 51 - FLAG_PART1=CSCG{FLAG_PART1} 52 53