Skip to content

Instantly share code, notes, and snippets.

@NeedPainkiller
Last active April 18, 2018 08:10
Show Gist options
  • Save NeedPainkiller/88240ab4b31ba92690b57c0fdf2b908c to your computer and use it in GitHub Desktop.
Save NeedPainkiller/88240ab4b31ba92690b57c0fdf2b908c to your computer and use it in GitHub Desktop.
version: '2.1'
services:
server:
image: server:0.1.2
container_name: server
ports:
- "8080:8080"
- "8081:8081"
stdin_open: true
tty: true
db:
image: db:0.1.2
container_name: db
network_mode: "service:server"
stdin_open: true
tty: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment