SHARE
TWEET

Untitled

a guest Jun 18th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3.6'
  2. services:
  3.   go:
  4.     container_name: backend
  5.     build: ./
  6.     volumes:
  7.       - # some paths
  8.     command: go run ./src/main.go
  9.     working_dir: $GOPATH/src/workflow/project
  10.     environment: #some env variables
  11.       ports:
  12.       - "80:80"
  13.   db:
  14.     image: postgres
  15.     environment: #some env variables
  16.     volumes:
  17.       - # some paths
  18.     ports:
  19.       - "5432:5432"
  20.      
  21. FROM golang:latest
  22.  
  23. WORKDIR $GOPATH/src/workflow/project
  24.  
  25. CMD ["/bin/bash"]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top