Last active
April 18, 2018 08:10
-
-
Save NeedPainkiller/88240ab4b31ba92690b57c0fdf2b908c to your computer and use it in GitHub Desktop.
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
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