added compose file and its environment informations
This commit is contained in:
parent
69c307180f
commit
b6c090c719
32
docker-compose.yml
Normal file
32
docker-compose.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: app:slim
|
||||||
|
build: app
|
||||||
|
expose:
|
||||||
|
- "5000"
|
||||||
|
ports:
|
||||||
|
- "5000:5000"
|
||||||
|
networks:
|
||||||
|
webnet:
|
||||||
|
aliases:
|
||||||
|
- app
|
||||||
|
|
||||||
|
webserver:
|
||||||
|
image: webserver:slim
|
||||||
|
build: webserver
|
||||||
|
expose:
|
||||||
|
- "80"
|
||||||
|
- "443"
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
networks:
|
||||||
|
webnet:
|
||||||
|
aliases:
|
||||||
|
- www
|
||||||
|
depends_on:
|
||||||
|
- app
|
||||||
|
|
||||||
|
networks:
|
||||||
|
webnet:
|
Loading…
Reference in New Issue
Block a user