Shanghai Jiaotong University Linux User Group set FLUTTER_STORAGE_BASE_URL=https://mirrors.sjtug.sjtu.edu.cn/ set PUB_HOSTED_URL=https://dart-pub.mirrors.sjtug.sjtu.edu.cn/
# Expose ports without publishing them to the host machine - they'll only # be accessible to linked services. Only the internal port can be specified. expose: -"3000" -"8000" # Expose ports. Either specify both ports (HOST:CONTAINER), or just the # container port (a random host port will be chosen). # # Note: When mapping ports in the HOST:CONTAINER format, you may experience # erroneous results when using a container port lower than 60, because YAML # will parse numbers in the format xx:yy as sexagesimal (base 60). For this # reason, we recommend always explicitly specifying your port mappings as # strings. ports: -"3000" -"8000:8000" -"49100:22" -"127.0.0.1:8001:8001" # Mount paths as volumes, optionally specifying a path on the host machine # (HOST:CONTAINER), or an access mode (HOST:CONTAINER:ro). volumes: -/var/lib/mysql -cache/:/tmp/cache -~/configs:/etc/configs/:ro # Mount all of the volumes from another service or container. volumes_from: -service_name -container_name # A single value, analogous to its docker run counterpart. working_dir:/code