Created
December 24, 2016 02:21
-
-
Save nikukyugamer/4446383f2d4a973e08ebf97d5e188bad to your computer and use it in GitHub Desktop.
my template of docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app: | |
image: hogehoge/app:X.X | |
restart: always | |
ports: | |
- 12345:80 | |
volumes: | |
- foo:bar | |
container_name: hogehoge_app | |
hostname: app | |
entrypoint: "/bin/bash -c /opt/init.sh" | |
tty: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment