30 lines
541 B
YAML
30 lines
541 B
YAML
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"
|
|
ports:
|
|
- "80:80"
|
|
networks:
|
|
webnet:
|
|
aliases:
|
|
- www
|
|
depends_on:
|
|
- app
|
|
|
|
networks:
|
|
webnet: |