first commit
This commit is contained in:
54
examples/configs/withnginxreverseproxy/docker-compose.yml
Normal file
54
examples/configs/withnginxreverseproxy/docker-compose.yml
Normal file
@@ -0,0 +1,54 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user