55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: bifrost-nginx
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
|
depends_on:
|
|
- bifrost-1
|
|
- bifrost-2
|
|
- bifrost-3
|
|
restart: unless-stopped
|
|
|
|
bifrost-1:
|
|
image: maximhq/bifrost:latest
|
|
container_name: bifrost-1
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./config.json:/app/config.json:ro
|
|
- bifrost_data_1:/app/data
|
|
expose:
|
|
- "8080"
|
|
restart: unless-stopped
|
|
|
|
bifrost-2:
|
|
image: maximhq/bifrost:latest
|
|
container_name: bifrost-2
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./config.json:/app/config.json:ro
|
|
- bifrost_data_2:/app/data
|
|
expose:
|
|
- "8080"
|
|
restart: unless-stopped
|
|
|
|
bifrost-3:
|
|
image: maximhq/bifrost:latest
|
|
container_name: bifrost-3
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./config.json:/app/config.json:ro
|
|
- bifrost_data_3:/app/data
|
|
expose:
|
|
- "8080"
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
bifrost_data_1:
|
|
bifrost_data_2:
|
|
bifrost_data_3:
|