merged the client and the server into one docker compose file
This commit is contained in:
parent
155b6b5791
commit
b4d1d60a3e
5 changed files with 32 additions and 12 deletions
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
services:
|
||||
web:
|
||||
build:
|
||||
context: server
|
||||
dockerfile: Dockerfile
|
||||
container_name: web
|
||||
ports:
|
||||
- 80:80
|
||||
networks:
|
||||
- network
|
||||
|
||||
client:
|
||||
build:
|
||||
context: client
|
||||
dockerfile: Dockerfile
|
||||
container_name: client
|
||||
networks:
|
||||
- network
|
||||
|
||||
networks:
|
||||
network:
|
||||
driver: bridge
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue