mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 19:21:03 +01:00
302597faac
Former-commit-id: a811648e0bdf83c289656426f8ba67d785b7d5cc
24 lines
406 B
YAML
24 lines
406 B
YAML
# docker-compose up [--build]
|
|
version: '3'
|
|
|
|
services:
|
|
redis-server:
|
|
image: redis
|
|
app1:
|
|
build: .
|
|
depends_on:
|
|
- redis-server
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
- PORT=8080
|
|
- REDIS_ADDR=redis-server:6379
|
|
app2:
|
|
build: .
|
|
depends_on:
|
|
- redis-server
|
|
ports:
|
|
- 9090:9090
|
|
environment:
|
|
- PORT=9090
|
|
- REDIS_ADDR=redis-server:6379 |