-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (34 loc) · 982 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.6'
# //////////////////////////////////////////////////////////////////////////////
# SERVICES
# //////////////////////////////////////////////////////////////////////////////
services:
# ============== SPA SERVER ==============
spa-server:
container_name: spa-server
build:
context: ./server
dockerfile: Dockerfile
ports:
- "4444:4444"
volumes:
- ./data/certs:/gateway/certs
cap_add:
- NET_ADMIN
networks:
- spa-net
# ============== SPA CLIENT ==============
spa-clientr:
container_name: spa-client
build:
context: ./client
dockerfile: Dockerfile
networks:
- spa-net
depends_on:
- spa-server
# //////////////////////////////////////////////////////////////////////////////
# NETWORKS
# //////////////////////////////////////////////////////////////////////////////
networks:
spa-net: {}