Skip to content

Instantly share code, notes, and snippets.

@musghost
Created July 25, 2017 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save musghost/1be496f9eb88f83e4dbbe71749677c9c to your computer and use it in GitHub Desktop.
Save musghost/1be496f9eb88f83e4dbbe71749677c9c to your computer and use it in GitHub Desktop.
version: '2'
services:
rails:
image: frails
hostname: "FichasAPIRails"
container_name: "FichasAPIRails2"
ports:
- "3000:3000"
- "8808:8808"
working_dir: /usr/src/app
links:
- postgresql
postgresql:
image: fpostgres
hostname: "FichasAPIPostgres"
container_name: "FichasAPIPostgres2"
environment:
POSTGRES_PASSWORD: "password"
POSTGRES_USER: "fichas"
POSTGRES_DB: "fichas_test"
front:
image: dockermd/fichaweb:win
ports:
- "80:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment