github.com/vshn/k8ify@v1.1.2-0.20240502214202-6c9ed3ef0bf4/tests/golden/demo/docker-compose.yml (about) 1 version: '3.4' 2 services: 3 mongo: 4 image: mongo:4.0 5 restart: always 6 ports: 7 - '127.0.0.1:27017:27017' 8 volumes: 9 - mongodb_data:/data/db 10 portal: 11 image: vshn/portal:dev 12 build: 13 target: base 14 context: . 15 args: 16 USER_ID: ${UID:-0} 17 GROUP_ID: ${GID:-0} 18 ports: 19 - "9001:9000" 20 - "8001:8000" 21 volumes: 22 - ./:/src 23 entrypoint: 24 - echo 25 command: 26 - "Hello World" 27 - "and hi k8ify!" 28 stdin_open: true 29 tty: true 30 user: ${UID:-0}:${GID:-0} 31 environment: 32 - mongodb_hostname=localhost 33 - mongodb_database=portal 34 volumes: 35 mongodb_data: