Guest User

Untitled

a guest
Oct 4th, 2020
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.61 KB | None | 0 0
  1. version: "3.8"
  2.  
  3. services:
  4.   nuxt:
  5.     build:
  6.       context: ../../website
  7.       dockerfile: ../deployments/local/nuxt.Dockerfile
  8.       args:
  9.         UID: "$UID"
  10.     restart: unless-stopped
  11.     volumes:
  12.      - ../../website:/website
  13.     expose:
  14.      - "3100"
  15.   api:
  16.     build:
  17.       context: ../../
  18.       dockerfile: deployments/local/api.Dockerfile
  19.     restart: unless-stopped
  20.     expose:
  21.      - "8080"
  22.   nginx:
  23.     image: nginx:1.10.3
  24.     restart: unless-stopped
  25.     depends_on:
  26.      - nuxt
  27.     volumes:
  28.      - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
  29.     ports:
  30.      - "8080:80"
  31.  
Advertisement
Add Comment
Please, Sign In to add comment