Skip to content

Instantly share code, notes, and snippets.

@kamiazya
Last active February 21, 2018 05:09
Show Gist options
  • Save kamiazya/67aea386bd95beee5753fcbd56c7f4be to your computer and use it in GitHub Desktop.
Save kamiazya/67aea386bd95beee5753fcbd56c7f4be to your computer and use it in GitHub Desktop.
docker-composeフォーマットの3.5からnetworkに名前をつけられる
version: '3.5'
services:
app:
image: nginx
container_name: my-app
networks:
- default
ports:
- 8080:80
networks:
default:
name: my-app-net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment