Skip to content

Instantly share code, notes, and snippets.

@nikukyugamer
Created December 24, 2016 02:21
Show Gist options
  • Save nikukyugamer/4446383f2d4a973e08ebf97d5e188bad to your computer and use it in GitHub Desktop.
Save nikukyugamer/4446383f2d4a973e08ebf97d5e188bad to your computer and use it in GitHub Desktop.
my template of docker-compose.yml
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