version: '3' services: app: container_name: v2 image: app:latest restart: always ports: - 3111-3222:3111-3222 networks: - apps volumes: - ${DIR}/app:/etc/app - /etc/localtime:/etc/localtime:ro environment: APP_ADDRESS: 0.0.0.0:3111 depends_on: - app-d networks: app: driver: bridge