# version: "3"
services:
test-opc:
build: .
image: test-opc
container_name: test-opc
hostname: test-opc
user: root
restart: always
ports:
- 8099:8099
environment:
TZ: Asia/Shanghai
volumes:
- /opt/logs/test-opc:/root/app/logs
- /var/run/docker.sock:/var/run/docker.sock
- /opt/tmp/test-opc:/tmp
extra_hosts:
- "rudb-test:host-gateway"
- "nodejs-host:host-gateway"