Commit bcebbaf3 authored by Pinon Gregory's avatar Pinon Gregory 🦉
Browse files

Docker deploy

parent 1d2ab6ea
version: "3.7"
services:
db:
image: oemcywc/database
ports:
- "10800:10800"
backend:
#build: backend-supervision
image: oemcywc/backend
ports:
- "3000:3000"
depends_on:
- "db"
- "socket"
socket:
#build: socket-position
image: oemcywc/socket
ports:
- "3001:3001"
depends_on:
- "db"
frontend:
#build: frontend-supervision
image: oemcywc/frontend
ports:
- "81:80"
depends_on:
- "socket"
- "backend"
notification:
#build: notification-server
image: oemcywc/notification
ports:
- "3002:3000"
depends_on:
- "socket"
proxy:
#build: proxy-supervision
image: oemcywc/proxy
ports:
- "80:80"
- "443:443"
secrets :
- source : nginx_key
target : /etc/nginx/nginx.key
- source : nginx_cert
target : /etc/nginx/nginx.crt
depends_on:
- "backend"
- "frontend"
localisation:
#build: localisation-watchdog
image: oemcywc/localisation
depends_on:
- "socket"
# TODO : Database feeder sur chaque Raspi (arguments env)
secrets :
nginx_key :
file : ./certs/nginx.key
nginx_cert :
file : ./certs/nginx.crt
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment