proxy/docker-compose.yml

39 lines
950 B
YAML
Raw Normal View History

2023-11-16 11:56:52 +00:00
version: "3.8"
services:
proxy:
image: fascinated/proxy:proxy-latest
container_name: Proxy
restart: always
ports:
- 3000:3000
environment:
API_PORT: 3000
INFISICAL_TOKEN: ${INFISICAL_TOKEN}
# Add your nodes here (eg: http://localhost:3001,http://localhost:3002, etc.)
NODES: http://node-1:3000,http://node-2:3000
node-1:
image: fascinated/proxy:node-latest
2023-11-16 12:54:49 +00:00
container_name: Node_1
2023-11-16 11:56:52 +00:00
restart: always
# Uncomment the ports if you want to access the node directly
#ports:
# - 3000:3000
environment:
API_PORT: 3000
INFISICAL_TOKEN: ${INFISICAL_TOKEN}
NODE_ID: 1
node-2:
image: fascinated/proxy:node-latest
2023-11-16 12:54:49 +00:00
container_name: Node_2
2023-11-16 11:56:52 +00:00
restart: always
# Uncomment the ports if you want to access the node directly
#ports:
# - 3000:3000
environment:
API_PORT: 3000
INFISICAL_TOKEN: ${INFISICAL_TOKEN}
NODE_ID: 1