added compose file for proxied apache version
This commit is contained in:
parent
42400e7c50
commit
c38b3da07e
30
docker-compose-proxy.yml
Normal file
30
docker-compose-proxy.yml
Normal file
@ -0,0 +1,30 @@
|
||||
version: "3"
|
||||
services:
|
||||
app:
|
||||
image: app:slim
|
||||
build: app
|
||||
expose:
|
||||
- "5000"
|
||||
ports:
|
||||
- "5000:5000"
|
||||
networks:
|
||||
webnet:
|
||||
aliases:
|
||||
- app
|
||||
|
||||
webserver:
|
||||
image: webserver:proxy
|
||||
build: webserver
|
||||
expose:
|
||||
- "80"
|
||||
ports:
|
||||
- "80:80"
|
||||
networks:
|
||||
webnet:
|
||||
aliases:
|
||||
- www
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
networks:
|
||||
webnet:
|
Loading…
Reference in New Issue
Block a user