Advertisement
Guest User

Untitled

a guest
Jan 21st, 2021
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.72 KB | None | 0 0
  1. version: "3.5"
  2.  
  3. volumes:
  4.     migrations:
  5.     soulport:
  6.  
  7. services:
  8.   core:
  9.     build: soulport
  10.     container_name: core
  11.     hostname: core
  12.     command: uvicorn application:app --host 127.0.0.1 --port 7040
  13.     ports:
  14.      - 7040:7040
  15.     networks:
  16.      - maininfrnet
  17.     env_file:
  18.      - ./env_files/postgres.env
  19.       - ./env_files/global.env
  20.       - ./env_files/social_login.env
  21.     volumes:
  22.      - ../migrations:/app/migrations
  23.       - /soulport:/app/soulport
  24.  
  25.   frontend:
  26.     build:
  27.       context: soulport_client
  28.       dockerfile: Dockerfile
  29.     container_name: frontend
  30.     hostname: frontend
  31.     ports:
  32.      - 3000:3000
  33.  
  34.  
  35. networks:
  36.   maininfrnet:
  37.     external:
  38.       name: infr_network
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement